Python
Python
ter
Pyt
hon
i
n15Days
APr
act
icalGui
deW i
thLear
nbay
Day1
:
I
ntr
oduct
iont
oPyt
hon
Ai
m:
Under
standPyt
honbasi
csandset
up.
Br
iefI
nfor
mat
ion:
Overvi
ew ofPython, whyit'
spopular,
andhow toinstalli
t.I
ntroduct
ionto
basi
csyntax,vari
ables,anddatatypes.
Exampl
eQuest
ions:
Wr
iteapr
ogr
am t
opr
intyourname.
How doyouassi
gnaval
uet
oa
var
iabl
einPython?
Day2:
Cont
rolSt
ruct
ures
Ai
m:
Lear
naboutPyt
hon'
scont
rolst
ruct
ures.
Br
iefI
nfor
mat
ion:
Int
roducti
ontoif-
elsest
atement
s,f
or
andwhi l
eloops.
Exampl
eQuest
ions:
Wr i
teaprogram thatprint
snumber s
fr
om 1to5usi ngal oop.
Createanif
-elsestatementtocheck
i
fanumberi seven.
Day3:
Dat
aSt
ruct
ures-Par
t1
Ai
m:
Under
standl
ist
sandt
upl
es.
Br
iefI
nfor
mat
ion:
How tocreateandmani
pul
atel
ist
s
andtuples.
Exampl
eQuest
ions:
Cr
eat
eal
istofyourf
avour
itef
rui
ts.
Wri
teaprogr
am t
ocountthe
numberofel
ementsi
natuple.
Day4:
Dat
aSt
ruct
ures-Par
t2
Ai
m:
Di
vei
ntodi
cti
onar
iesandset
s.
Br
iefI
nfor
mat
ion:
Usageofdi
cti
onari
esandset
s,key-
val
ue
pai
rs,
setoper
ati
ons.
Exampl
eQuest
ions:
Makeadict
ionarycont
aini
ngt
hreekeys:
'
name'
,'
age','
cit
y'.
Writ
eapr ogram t
or emove
dupli
cat
esf r
om alistusi
ngaset
.
Day5:
Funct
ions
Ai
m:
Lear
naboutf
unct
ionsi
nPyt
hon.
Br
iefI
nfor
mat
ion:
Creat
ingf
uncti
ons,r
eturnst
atement
s,
ar
guments,andscope.
Exampl
eQuest
ions:
Writ
eafunct
iont
hatt
akesanameand
pr
intsagr
eeti
ng.
Creat
eaf unct
iont
hatr
etur
nst
he
squareofanumber.
Day6:
Modul
esandPackages
Ai
m:
Understandhow t
ousemodul
esand
packages.
Br
iefI
nfor
mat
ion:
Import
ingst
andardmodules,
creat
ing
yourownmodules,andusi
ng
Exampl
eQuest
ions:
Wri
teaprogr
am thatusesamat
hs
modul
efuncti
on.
Creat
eyourownmodul
ewithasimple
f
unctionandi
mpor
titi
nanotherfil
e.
Day7:
Fi
leHandl
ing
Ai
m:
Lear
ntowor
kwi
thfil
esi
nPyt
hon.
Br
iefI
nfor
mat
ion:
Readingfrom andwri
ti
ngtofiles,
handli
ngdi f
fer
entfil
etypes.
thi
rd-
par
ty
packages.
Exampl
eQuest
ions:
Writ
eaprogram t
oreadafil
eanddi
spl
ay
i
tscont
ents.
Creat
eascri
pttowr
iteyournameand
agetoatextfil
e.
Day8:
Er
rorandExcept
ion
Ai
m:
Understandhow t
ohandl
eer
ror
sand
except
ionsinPyt
hon.
Br
iefI
nfor
mat
ion:
Typesoferr
ors,
try-
exceptbl
ocks,
rai
sing
except
ions.
Exampl
eQuest
ions:
Wri
teatry-
exceptbl
ockt
ohandl
ean
I
ndexEr
ror.
Createafunct
iont
hatrai
sesa
ValueEr
rorwhengivenanegati
ve
number .
Day9:
Cl
assesandObj
ect
s
Ai
m:
I
ntroduct
iontoObject
-Ori
ent
ed
ProgramminginPython.
Br
iefI
nfor
mat
ion:
Basi
csofcl
asses,obj
ect
s,i
nher
itance,
andencapsul
ation.
Exampl
eQuest
ions:
Defineacl
ass'Car'wi
that
tri
but
esl
ike
'
brand'
and'year
'.
Writ
eamet hodfort
heCarcl
asst
hat
di
splaysi
tsi
nfor
mation.
Day1
0:
AdvancedDat
aSt
ruct
ures
Ai
m:
Expl
oreadvanceddat
ast
ruct
ures.
Br
iefI
nfor
mat
ion:
Impl ementati
onandappl i
cati
onofdat
a
structur
eslikequeues,
stacks,
and
li
nkedl i
sts.
Exampl
eQuest
ions:
Creat
eaqueueanddemonstrat
e
enqueueanddequeueoper
ati
ons.
I
mpl ementasi
mpl
eli
nkedl
isti
n
Pyt
hon.
Day1
1:
Pyt
honLi
brar
iesOver
view
Ai
m:
Over
view ofpopul
arPyt
honl
ibr
ari
es.
Br
iefI
nfor
mat
ion:
I
ntroducti
ontol
ibr
ari
eslikeNumPy,
Pandas,andMatpl
otl
ib.
Exampl
eQuest
ions:
Cr
eat
eaNumPyar
raywi
th5el
ement
s.
Pl
otasi
mpl
egr
aphusi
ngMat
plot
li
b.
Day1
2:
Vi
rtualEnvi
ronment
s
&PackageManagement
Ai
m:
Underst
andvi
rtualenvi
ronment
sand
packagemanagement .
Br
iefI
nfor
mat
ion:
Cr
eati
ngvir
tualenvir
onment
s,usi
ng
pi
p,r
equi
rement s.
txt
.
Exampl
eQuest
ions:
How doyoucr
eat
eavi
rtualenvi
ronment
i
nPython?
Writethecommandt oi
nst
allaspeci
fic
ver
sionofapackage.
Day1
3:
W ebScr
api
ngwi
thPyt
hon
Ai
m:
Lear
nbasi
csofwebscr
api
ng.
Br
iefI
nfor
mat
ion:
Usingli
brar
iesl
ikeBeauti
ful
Soupand
request
sforwebscrapi
ng.
Exampl
eQuest
ions:
Writ
eascri
pttoscr
apeandprintt
he
headli
nesf
rom anewswebsi
te.
Ext
ractal
lthel
inksf
rom agi
ven
webpage.
Day1
4:
Basi
cDat
aAnal
ysi
s
Ai
m:
I
ntr
oduct
iont
odat
aanal
ysi
swi
thPyt
hon.
Br
iefI
nfor
mat
ion:
Basi
cdataanal
ysi
stechni
quesusi
ng
PandasandNumPy.
Exampl
eQuest
ions:
LoadaCSVfileusi
ngPandasanddi
spl
ay
i
tsfirst5r
ows.
Fi
ndtheaver
ageofanumer
iccol
umni
n
aDat
aFrame.
Day1
5:
Fi
nalPr
ojectandRevi
sion
Ai
m:
Applyl
ear
nedconcept
sinacompr
ehensi
ve
proj
ect
.
Br
iefI
nfor
mat
ion:
Chooseasmal lpr
ojectthati
ncor por
ates
vari
ousaspectsofPyt honlearnedover
thelasttwoweeks, suchasfile
handling,dat
ast r
uctures,OOP, and
basicdataanalysi
s.
Exampl
eQuest
ions:
Designaprojectout
li
nethatusesatleast
thr
eediff
erentPythonconceptsl
earned.
Reflectontheproj
ect
:W hatwer
et he
chal
lengesf
acedandhow werethey
over
come?
Fast
-tr
ackyourcar
eert
ransi
tion
wi
thL
ear
nbay
Vi
si
t
www.
lear
nbay
.co
Ex
plor
eourcour
ses
DataSci
ence&AI Cl
oudandDev
Ops
Cours
es
F
oll
owuson
Phone E-mail
(+91
)77
95687
988 cont
acts@l
ear
nbay
.co