Professional Documents
Culture Documents
File Handling Notes
File Handling Notes
File Handling Notes
Ho a proaram idorks ?
upe) of iles
Text files:Afih _ese_Condexs Con be Ve0ea
4 e t elfor S Caltod a tert ilo
dsig
dsihg
Mods
- TOadingOnly
only
L0 rltwo on ONeNcO ute tte Hles C
tor dppeyeli vbve Ple polntes at 2nd 6
t e file CradBe
Camlin Pge
Date
Syntar
Raadi data
Couintinghe. ofletens in Ha
7radU
Or im dato.
in 4"aeiou ortin "AEIOu:
C+1
Pant CNe, fVoadela c
fctose C
Comlin
Dete
primtCsuuces.. ')
. closeC)
Eopen Bata.trt72
dala TOadline()_ odline Can Xead only liue
Prunt( En4 te', daia
dafo reodlint)
print(8 eco nd liudata
dlalo zadline
prisdhind telato)
Prtint
cAose )
Date
close 0
f Close