9 / Dashhoaed / My courses / Programmingin Phan. Python for Beginners / 2 Getting Stated with Python / 2.1 setting up Python Lacally,
2.4 Setting up Python LocallyLecture Video
soem it
someway
Y Lecture Script
Good day to all of you!
‘Welcome to this session on setting up Python locally on your personal computer. In his session, we will
look at how we can dowrlaad the compatible Pyinon installer and then install Python on your local
‘computer using that installer.
‘To setup Pytnon on your personal computer, you have to find a compatible installer. am giving this
‘ude fr Windows operating system any, However, {you are using a diferent operating system, you
‘can install Pynon using a similar process. Please also nole that we are working on Python version three,
‘commonly referred to as Python thes. The first stap here is lo open your preferred web browser and
‘then go into wwwzp\thon org. Here, you can find tha dawloads lab, And when you cick ths, i wi
‘automatically dotect your operating system and provide a compatible Python version. However, as
mentioned befor, f you need to download fr efferent operating system, then you have that option to
select that oo
Let me pick the latest Python version here and it will begin downloading. Ifyou need the ferent Python
version, you srall down to loking fora specific release and easly nd thal version that you need. That's
all you have fo do. I's quite easy, isnt? Once you have downloaded the Python installer, you can go
‘ahead and install Pytnon on your computer.
“To do thal frst goto the Downloads folder and open the Python installer thal you downloaded. When
‘you do tha. it wl bring up a window which we cal as an instalation wizard. Iwi help you withthe
installation, Her
you have the option to customise the installation, but we are not going todo that her,
However, please remember lo tick his option ‘Add Python version tothe pat’. This help us o easly
‘access Pythor lator rom anyuher. Tick thal box and selec ‘install now. Iwill prompt you to give
permission and since we downloaded it rom offical Python web page, we can go ahead and give
permission to instal now the installer wil begin extracting necessary files, copying them to your system
‘and finalising the instalation process.
Cay, if you have reached this stage, thon you have successtuly installed Python on your local
‘computer. Congratulations!
Now that we have successfully insaled Python, the next slop is to check whether the installation fs
‘working. We can do that by accossing what is known as the Python consolo. To access thal, wo fist
need to open the Windows command prompt. Lot's go ahead and open the command prompt. On this
‘command prompl, if you type ‘python and press enter, then the Python instalation has corecly
installed Python shoud bring up the Python consol. As you ean see here.This also shows us the
Python version, which isthe latest version that wo installed. Through this console, you can issue various
Python commands, but we are not going fo caver thal her. In order to ex om the Python console, you
‘can type ext wth open and close parenthoses.
“That brings us othe end of his session. So as a summary, during the session, we installa the latest
Python version on the Windows operating system, And then we checked the Python instalation bythis session, then you should be abe to have accass to a working Python version on you personal
‘computer. Lot's move on to the next session. With tat instalation
“Thank you!
Y Lecture Script - BeensqatisMipréseib
side 1
00d day to all of you!
20 o8d 190 deat
diario Qerenmu pach Hefiu prt 24s sew Gia!
Welcome to this session on setting up Python locally on your personal computer. In this session,
wo will lok at how we can download the compatible Python Installer and then Install Python on
‘your local computer using that Installer.
aed Hfokm BSossmed mE Python BADE BAe sOwiedD 689 enAsd
Gd enedeaxs BEaHA. 089 en Bed, ¢B mesem Python Ldsea048 (installer)
mad 810 (download) 295 BD 08 WdrvaNd wrnedat 6D sFossmd NE
Python eddsesanc (install) moafexs emeiend eesxcs3 Ga.
Python programming language @enen © tisdr QeTibs KemMenuid condiad OCLs
OsriU UEMSG eiscrar ajcaBeper. csveurgy
[email protected] Python
installer g S7AMSsb Qeiigs asd semilefuley UPARAgs co ungeumd.
To set up Python on your personal computer, you have to find a compatibie installer. 1am giving
this guide for Windows operating system only. However, ifyou aro using a different operating
‘system, you can install Python using a similar process. Please also note that we are working on
Python version three, commonly referred to as Python three. The first step here Is to open your
preferred web browser and then go into wuw.ython.org. Here, you can find the downloads tab.
‘And when you click this, it wil automatically detect your operating system and provide a
‘compatible Python version. However, as | mentioned before, if you need to download for different
‘operating system, then you have that option to select that too.
aded Hdo8m BSmeimed Python BHO, aA ges Hosea) etic
OD SNA. 88 698 d.benisedas oA: sexiea Bxledie eBaws9 BOB.
teen 88&, emedt ednzi, BO eOnz! sdengd Hdadan wim mdziex 0,
@0 8d wOrm Hara) 28:9 mS Python Sdsoma mE HBS. 4S
mernseas) sda qo Python 3) eeu Melon wana qalon ynOced
(version) Bx 28580 andeesSal B82 OD mdvesr60xi somal. 8c HEB BAS
Szhesd BD mH SA QDs (Web Browser) SDaz» 294 www.python.org Gz S2BB.
G8m1H, BDO ArmA GBzte (Oownload Tab) etsa.02 syHA, He VA 68S
siGa3 me 50, 0a @Aed sdaIngd Hdada HOaas}ad MEmreon YeME Python
aenO2¢caa8 (installer) CDs 64% GD. met! BD’, a mEal esetost mE BEL, GD
55a 68em9 64OB ween Arx0m H6VO YOu 0B, ag mdb HBO
dounload 6829 MC DO 8B Bindu sed quo.
Python Gor Plenu eed Semele UU, Brusdr wowed
[email protected]
installer @ CEIHABOSE CucinGid. Gis UTLSMe weir eeveurgy Windows
‘operating system eb QaiLergs cer siraier 1&AGMDEtr. Briss Geu—D! Operating system
2 LUGLOSSUAUG yUler OCs aPlenw UWELGSH uBay Qeiwevmd
pmtitecr Python Version 3 @enor UWETLOSEOCOTA tare BUh 6 HSwed
ascites. sone Python 3 cesrauid SiemypLiLiF. Gosed Ligwimes w ress Wab browser
BIDE! python.org air STSBIDS Qecvs, QBed Grist Downloads UGBenu
sirererqpigusid. BONE click Deisuyid GLiTg, BreweGes w.rhiict Operating system
Qener acing Nass) QUMBsBioMTeN Python version B 1B) BOLD. celepid Hrivescr
Gaul OS BS SIADsmid Qari CoucdorGiomuiles 21p5Hetb option e cers.
Let me pick the latest Python version here and twill begin downloading. you need the dtferent Python
version, you Soll down to loking fora specie release and easily find tal version that you need. That's
all you have todo. Its qulte easy, isnt? Once you have downloaded the Python installer, you can go
‘ahead and install Python on your computer,
80 688 md:9 Python G~APres S249 HOD 90 seat, oc eral Aor 8B
e680 Da gu, BBO BBA Python Fares YOY 99,8 Heldo Ammoss(Collection) 68589 Sengd FROGAG (Scroll) mS ODO gDaH 08 FADES
Begeds! ser oxizr, moain Hecslest CD08. dm 060 sens exhe? @D
BAnsl dda Don mE BE, @DO DD gddzt LEGO eure BEA BEosmed
Bans downs ms om HS.
Drei @Bld Sen Qwns Qeefwnen version g AS fa eLREner, 1g
BSA prs OETA ALL gi. 2.iE5HE Sagy Python version GoutrGiomuslesr
Bop scroll Gag! Gearon ehs@GsS GEmauundr QueUILe Gosors
ssin@oancor gus. Qdmumald Bret Fiisdr Detw Geredrgu oud.
iscyld Qoweurrer Aiud sicveveur? Friescr syeAlpseih Aeikis Sires, Python
a install Gow qoiqust.
To do that, fst goto the Downloads folder and open the Python istallr that you downloaded. When
‘you do that, wil bring up @ window which we call as an instalation wizard. wil lp you withthe
Insalavon, Here you have the option to customise the instalation, but we are not going todo that here,
‘However, please remember fo tok this option ‘Add Python version tothe path. This helps us to easily
‘access Python later trom anywhere, Tick that ox and select astall now’ I wll prompt you to give
permission and sine we downloade it rom oficial Python web page, we can go ahead and give
‘permission fo install now th intallor will begin extracting necessary fos, copying thom to your systom
‘and finalising the installation process.
Faew BBsio A209 m5 ox dds 0nd 88 eniddsa ed sore! BD
Aram mE BBD sd282965 (Python Installer) BDz Sak. @D de mdm 89, Oc
98 elds Sarde (instalation wizard) ages ME ZOD mDODS soo OB. Oa Python
Boreanc ager @NO Cord DA HD. 6OHE BAO Hoo YHS Odea
(Customise) 8680 Binge qn, nae 98 dc 688i A580 asiex} nun. emecd
sdan25, m5y962206 688 Sznge
BOB, Python szm.sbees5ec (Console) 66a HED
6g 68m B5As833 yud du me wyHia. Oad gede 580, 98 Absa Saiedid
‘8Axm BOe@ (Command Prompt) Saw me ans. #8 9260 sore! Bdrm Sao(Command Prompt) Bam 2068. 688 Barz 5dq46B2, 8 ‘python’ DB md enter
@Assan, O—48 Python edvesancs BOSEE Python Hdazs20c3 296 ashen’, Bes Python
omsissioa som 08. 0 62d qua wr 868, Bema gBd sasinsiem 9B
Install 20623 Python Version ®29, 89 Python version B25. 88s @qaHa Python version
O98. 683 smrstamiccs mde, 299 88 Python Saw Sms me wy, ad
4 Lecture Video 44 <>
“¢1.2.natomy ofa Software
‘Application Ju 2.2 My First Python Program ®
GET IN ToucH
# University of Moratuwa
Centre for Open & Distance Learning
cont
& 011 308 278778
& 011 265 0301 ext. 3850,3851
© openeeuomsk
© University Website
@ COD Website
Pimora_logo pg Sponsored By o!logo.pne £4 O8in @