0% found this document useful (0 votes)
3 views

Assignment 6 CH- Getting Started With Python-1

The document provides an overview of Python, a programming language developed by Guido van Rossum in 1991, highlighting its features such as ease of use, expressiveness, and object-oriented nature. It discusses different modes of working with Python, including interactive and script modes, and mentions various distributions and IDEs available for Python programming. Additionally, it outlines basic commands and examples for executing Python scripts.

Uploaded by

divaansh116
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Assignment 6 CH- Getting Started With Python-1

The document provides an overview of Python, a programming language developed by Guido van Rossum in 1991, highlighting its features such as ease of use, expressiveness, and object-oriented nature. It discusses different modes of working with Python, including interactive and script modes, and mentions various distributions and IDEs available for Python programming. Additionally, it outlines basic commands and examples for executing Python scripts.

Uploaded by

divaansh116
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Asigmme nt-6arlday Date.

|
Page.| 62

Getting Sostt oih


6Explain thon aned ids festuneo in dobi.
Ara story and Delinition
Pthan is an ohgjed Crienled
Pithon Pragsanmmiy
devekoed by Guuiclo Zaguags
Uam Rassum
tebruary- I99L. Bhan is
mhuenced hy tuo programming
baseal
Janauageaamd e
Cn

ARC Language C a esching


Jlodula - Rtbon donguage
SS a
u tiph lesl is/easy J6lean 9t
G
named
afen programming
apopulan amuagt
Comeae
sho Monty Python ying Circua'
features. Brtho

Use
Esepiressiue aderprcled. ats
language Languag Complalens
Crosplatan diree aend
Laxoguag pplicattona
Pal 6

Some of the Aey Joalares of Rhon


asy to Use : Rtron is comoat and easy Jo use
cbjec orienled danguoye uith
smple sy-nlasc sules

2Expressive Lnguage. hon i an eaprecive


euen inuo
lavguageCompasneso cole
and. simplan syrlase Qs olhen
papudan pgranming anguageaike Ctt, awa,

rierpreted Languagesthon ik nat


inlerprelad
a compiled
danguag
slanguge
4ots Completenessi unchonally
for most ypeo of ngined
is avoilobl
hrough Nanidua mosudan o Rthan standard
ibaey Thua t is also caled Rthon
fallous Batlenes Sneluded philosaphy
SCrass -AlatforyRtban. egualy
Language wall an uanicly of phizbems
Winsda uss, linux /Unix ,facintash,
Supen coorn putens Smantphoneate.

6free and Open i Aithon oangusas S

Source auailable along with k


Sounco - Codo
Date.|
Page.|

Zanictyo Usag Rihan hasevokueel ina


Apaieaions a pawenful complele and
useful anguage
the yeand Thaoedaya R~hon ls being
useol in many divense ields appiatona

Q2Q29n
9n hoa many uays cam you sck n kthon
Ano
n ngiall Rthan gram muliala Rtan
dsttibeitons. aurailable taday
Defaut insla llatian auailabh ram wwwpy hon ai
alled CRtbon
ARthom inglallaion and casmes
oith Rtan inleghalen Rthon TOLE CRhen
anePipp Cpackagainsiallen ).
’Thera ane oany athen Bhon
Rbon istributienA
anilable these dayaAna.gomaa
dlaya Rthan
oistibutikon. is Suchi highly
necomnendeodistributanthot
prebadeol aith many packaqen
lbranienCegMumf
ibrarico et) Saknda
’'any populan TDEs Ane, aso Qualahle
Spyalen TDE,Chasm TOE eo. of these,
SpydenIDEis alkeadyavailoble
pant of Anaconda thon. dis teibuhion.
Date.

Page.|

o can work in Rkhan in


difenent ways. falauing
odles
in enacive moda in Senipt hda
Calsa called Brmme dliale
Jbala)

Iwotking in Default CHibon Diásibut~ion


The default disteibuhion, Chthon, comes.
Coith Rtton intenpretin than TDLE. CGuZ
based ) and piaCpackhge inslalen ). To
intenochi. as well ao scnjt
mooa you mecol o qpem Rihon TOLE:
Aarking in Tnleractive Mode CAihan TÔLE)
endenacli mocle of uorkiy meAA
the onmancd - on command at a tim,
anol. the Pthan eceates tha giuen Cammand
those anp and gu¿o you auput.
then
9n inlenacti modle, you bype tha commam
in foait af pthon camand.prompt >n.
2t8 in font o
Ahon prompt,it will gie ya
Page.

omnanol exphessian
»> 2+5 < givem hen
Result sutunned

the
T% york n inlenaciue meclaallou
phacess ùsÇm hane
cisCick Stant butlon A Prorams PEnongxx
’TOLE CP,thon GuI)
OR

Click Stast butlon-’All Reograms ython ZXX

apem Rthan shel.whu ou


tha Bhon phomptLthree ! sjna i

ciibType commando iront o this Rthon


phoimpt and Rithon Limmediategy giue
tho. sSult

EA Python 3-6-5 She dl


Fl Edut-Shell Debug Opti ons indow, Hep
P,thon 3-6-5( bs5:f59c09326, Mar 28 2018, G :07:46 ) T13 vaTYoo 32 bt
E1nel] on win32 .Ty pe copymghl""crecils"or"eense
>> 2 +5 Sce, vario us co m nor ds typed

1Ym mecialeuy reluned the


13
Date.

Page. 67

For cocampls, to print sting "ella on tha


SOeemn you neeo to type the folawing
n front o Hitbon phonpt C2>)
>> print C"Hello")

And Rython trlenpholenll immediatly


dis play sleing Hello belous tha comman d.
lo diiplay ou just meed da mention
dr encpessian in frant og the
phompt.
B. workina in Script lode CL,ton TOLE)
th ntenachye morla,uou cannot do so, fori
-’ntenaciue tha
Cornmand emtenedl by yau in tha goEm

’The utout is sandlustched belueem tha


Commandine

Step 1 : Crale Hodada/Senipt / Aagan fila


firsllyy haue to cneate amc. saue
modula Script LPrggraml To olo.
S, allou thane instrutona '
iol Chck StStant butlon ’A Programasf{hon axx
Date.|
Page.| 6

-IOLE.
iCick fl Nouin IOLE

he Commando
In tha. pragram (oe Sonipt.).
fo inslance ortha Simple Hello orld

print C*Helta Worldl ")


Untilled))
Fa Edu t formot Run Options Window Help

DFIt Hals Wortat

Ln2 Cal:à

Civ Cck File’ Sou am thom Bae the


ile tasth an edemsionpy Ths Rthon
onlemsion . er

Nous youn pgramtwoulo. he soeo on tha aisÁ


and the sajed il Ay eension
Date.
Page

Step 23Rucn Jtodlade Soipt /Arogram fu


Aen the program Scniptfi is Cnealed,
you camsn it by ouing the
given imstructions
i.Opem hedasined
cnealedd
prog ram scnipt ila
step 1
that gou in preuious
TOLE's flsOpem Command.
ta progtam / senipt yia is alneady
cineclly mae o the
ment iaatructian.
ci Click Run Ruaost comman n tha
Gpemprog naam scipt fih's uindaw
also
BHello-py- C: /Users/ Edup A
Fihe Ect For m (Run OptiorS
Pythor shett
Print (" Hclcte
lcheck olule -prognara scnipt
Rur odule fs

inAnc it coill eaceaule all th cammonca


atored in mocua progrann /scrnipt that
hasl opened. and Shous
amplele out put n a sepanle Rthon.
Shell win olo
at
cack irco
Ânaconda in tile Spydan on lick
INaugnlar Anaconola aunch cib
I0E Spydan launch fo
peSonal
utin ithAnaconda.
OYmed
rnls TO£ Spyden nacommnodled
it byprelnaded
Rithen
prekennedchaic Oast
the
TDÉ Spydn
peciomCata.amp al oct an
6entunus
Kealusu
antldebugging besting
nieactie
inguag Riho ediing adsomcicl.
the fon enilanment
inlenactie pouoenful a Seydan
TDE Spdan lorking
n
irgCamnand-output morecan CNo
hen inen autput orm get tha amd in
en Cornvnanda alstbre Cam
mode Soipt with that See As
76 Page.
Date.
Date.|
Page.|

Oame Spydan
Spydan rlejac
Ona. tha Spydan is doaded,you will see
allouwig inlenfoca:

ter -Gsersledul spydca-0yZ\temo-py Hco


2Souree lConsole
-H coing: utfs --

Here you cOn halpo any


(nrond o, it, eith
Eloror he or sale
5- This is atemporory Script 6e
Pythan Jso4 lAng conda]ncl Coe7oult,Jon 6,6)
Cnse v.loo 32 bitcInle)1
I,thon 621 --An enhanced Irlerive io
Edilor Rore
To creol ce Scripls hello
tuotRhere IP,then nsalh HISoty Lo
Pem'ssions; Rw EoL CLRr

TRhon forset
A: Tdenacis. Aocle Senipt Modla
To ork in ntenaciye mod in Spyclan
IDEype gou
in the ecilar pane
Scril'a cammanca

’ o stat scipt la, click fla>


Neu fila.
lo Sa cunhernt gonipt uNe commano
Date I

Pagel 12

Rthon Senipts shase fila. crlensian aspy


Benpe
Rthan filan
B.l Onterocttye Mbde
To uark n talenadlue mode. in Spydu 10E,
Houn omnamd_Cs) in the IR,thon.
pana spycha uaindat 9t wil
giye yau tha aupu tha cammnol
thane itse
print C"Hllo )
in the.Ipy thon console phne and ib gg

You might also like