We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 9
(RR) rere
Anewors
‘ste Teor Flee
tile chee Questions
mm
[Ale clio in no saa srg vi he a Sk Til po, eae
et is tn doh ew’ hn i ca) Be sea
Sree fer pa ws es tp ae fon he pA
‘eae ryt CP, cao tet ee ppc rept
Coa
Siempre ey ne ots
ieccamtnen teers
eee ar een
Patera
+ Sathana nal sane hemes
andead whenever newesay witout destyig the dm. wr Sse
peepee ces aca
aaa
paieerse ome
"smut
Fe eda eme mse mi Ra
Rannomiues boats8) rye
Soe e eae mee Lal
‘hese canon ima es ot Te
CURR SLinG an Ct
oy eed a at i es
eho tem yor besa
Secctadonle figure 7.4 Flee andFote
ne Pe lech exh ee ini
Sein ules ashlee woe
sacitaccattemo, a
“EAS Geek cr
se thee eo pte fe ms cla he di) ms he ie
‘ps Pet ef 08 whe rd sh) we cee Wass ae a
RR sie pcan ran comme ee)
manera tana ncaa erate
Sr ee le mess hme pam ih op
‘tien ey tony ries ag as Frc ae
‘SSRIS Saath cease un ys fic po
Sarin monnerenetehemamege
Dekerter ren eemanocame
Ses eae
73. TYPES OF FILES
TRU Pai penn pe ere ey
reece GD
781 ASCIToxt Files
‘teem trl a Pap eat
‘enon ilo yom aay, ope
‘Tey pnt Hanon rr se ye
ssi Se teak
‘Sry ae opi ma pei tab pf
(vaespen ambien chun my tessa sewn el
‘Suan nko i eee ners mya saa Sener
‘te opesing sytem a aay peeve
cesar ea en ah in ey
‘Ate ipo hing a wine sed he we muy etic ema
cc forcast ilbergremnel es arbors
Seamless el
732 Binary Files
Nay fe wich mycin ay pe oda sin Sf ere ee
‘Ed pcg pup hr apc ann, Ys mae ee
srl beste tiny eto hay
+ Atte ti pce dehy nie
+ Pe eros ne alte oo ay ee
hil hs an eps sei, ay iyo etn ete ps
xl wnsoni penned an mene bey oe
EX em rn ms monroe tea pas ts
ip zane fie ri ro aye od
ances «yer te ep, wee es owe a
Tea as ip wad ns pci ty ce ee heBB) nen romemmie
‘santo tangle ofr ssi eto prams a aoe
‘ruc wit Windows Nowa Ta fig cts sy alse ce
“iy lc te tesa oma eto eS
I is a a a TAH
14 OPENING AND CLOSING FILES
Pry sine tr pa, Th ht a ly
TAI The open) Function
‘ie Lea eae
raise
IB Amit open SU mori
eres ten na Te nest ong ml ee
Singer See ne ‘amt ce plete eh oe Se ee
‘ete ou Sah ese a ‘
naa ne pete te an et yy Tt
‘het a tepmng ste
"8 Tasmace ana te renga tt Te ep de
omnes
‘Taos ortsa hereon nasg ornate
gee ee eae anne
SSeelseie Seti in oan Fo ty Sans
‘ime tm tte, Wen us a hp an
Seer tit ta ornate spores sumer tcegan eto fs
‘Sth ens mtr sons a snsina Pour
‘jomate iy ray tien wg en pens om,
esting on oa utters ten ncnon erage
‘rin Hite meaner oohar sre deste tenn
(Gems tat apna To tran n ae ede da e et aoe |
‘ea mon sane eon
‘isa ry as eprint ot cle a te
‘inet test tn Se Swe Ean
3 Geena eon maeg arena Te pari spl nate Sete
‘sistem acc rata Fons erates ag
Testo clare nents fe Seanad rt
142 The Fle Objece Attributes
‘ee ey ap te ered ig
Table 72_ Fle Object Aver
ol oy ae tact
‘Aieicet Renetantoeree
REE
ee
ees
en meee
ed
743 The close() Method
“heat ee in ea et jt One fet i cone
neat oat eis eel te Wh cine ee
‘Soe Rasy ui fren cs amr ef ta ws pn
inet eA Pye asa dines een ee
‘Specs ec ae spa pens
sali netomat Sec sf ie
‘ste pep ay Serene unmet akc ye
‘Syntace tpn ai as on
epee
WOT meen testers
}
oncom GO
eee
‘Reread ent a et eps a i,
‘evista i rt se
751 write() and writelines() Methods
ewes) mend sun wr aig an ay pil Ooh gyno
‘ns pi ance re Wale a a oo et i
Ee ein rin he) wt a coe)
‘pete i esi at pel oan eect eee) i in hcp
(HEINE es wien i re et
Steet eee Reel aioe ior ates
(phils tars rae poe
‘eerie hl wae ta
CETTE rete atsenes weenie tod
752 append() Method
piss eh tnt nr ee
Uiiousedt see ms onsttung se a mae eng ere ose ReWERE versenden ara oxting le
158 The read() and readline() Methods
‘erent eat el rds aman a ope sil is, i nie
icles meen tse etre ofatt aca gree
ae ove, st i pl um Wh peo i) i
unr afih tec tTeea pai e om eo
‘ndvomrmmanyetss nares ties cnn chet ee ee
CETTE Posen sete ac rte tet
‘Noto open fred ta brn eon ee nematode
RED ener ems
oem nro naatS
pees es
ence
‘Theresia eta ideals fh Ther dng tran
CEE vs seminmecesinet tin
4 mt me lt et pttfm) re ant
(MENTS rr ie han ft eee ing ts tha
ft i py et i dn eo
SSeste weir ea tonsansaly eeeiComeaycee ee ee
taney i me oy Wy rl ree ht
(HEIR Pv sine cones oe
155 Splicing Words
allo de) ems fm i ae in nce By
enh che eb orc oes ay he nes per
(EEN Poe etn sin ene pte opin
15.4 Opening Files ung with Keyword
sl ogmmig hi nates er hee aig wi eT hte
‘hates pope See ee tied cco lng eta so
‘eno nay dn san cay rt a te cds ren os
Section sevens
(tiene tthe wr of Peano.‘TS Some Other Useful File Methods
rae ERE
‘Susana te toce Po
rate)
printf rainy)»
Fi ite sn ae ot
roping)
Wecrret
incre rea
‘Wiha ment i oir ine fl on ts
st ae tase ope cng,
yams rasa ert ep Foreal ea( meot
ote rae en ins ne ers he
‘Shimbun um ote
Moe ateanen ia te nf
"eterno tod tte postion of ep wen se em
Femme2sprngctoase
Fie pmicriin, 0)
Per i te mtn ing et
imac ge fe renting 1
Searsettng tts tron tn oven poston of Fe ae)
Postion of fe str betes rating 8
RB i ru sont ed ry nnd i a ct
PROGRAMMING EXAMPLES
Progr. vt progam that opin et 1b fry ao eta
gute at) wi
Tae Rit
“recite Se
“mrogm72 wt rogram acpi one ton sero ns nathan sch wy ht
‘Smarr pps an cep nthe sston ar
[te apnc reso) teTEED vn ore steer sats.
Yucatan er ey hag eb er Sn
in rust onl iat arbre ee tt.BD risen roeamaig
Sree.)
78 DIRECTORY METHODS
‘heeled Ts al eos moe umd ce dc ce
ieatry crate
Talent tal Wee see of cole ce oe (a
SMitetin inter rset ecrieratseee afer (aa
“oar Mato Thc) mth ica se. td he
reste)
rere
(GUNN ent ce sane irc nny dye
Ee tog rc +, esertent)
Pin aetent)
lever harking sven i eyed
ea aie, he carve oictry feat Gh ir
‘rae ont rece ent ae
sete ta te 9, a
ndsirars [tar 2 The ssn cst Find ete ses
rir) Mato hr
pe ani il i yn ie
prt ans
stellen)