Docsity

PYHTON NOTES FOR BEGINNERS, Study notes of Computer science

Partial preview of the text

Download PYHTON NOTES FOR BEGINNERS and more Study notes Computer science in PDF only on Docsity!

or r | on i Fen File_! fe Headly i: << = —— ————" ca Molly, kn payannay ton eget ! oy date cori Sfored” “Pome = Uaartabler UHL Cre i volatile tw nature ant te wil a Pak ce Phe program execulicn ks Completed : As files are non — volectile za neilves De declan wif bw Slowed peenrGintndty in seeandosy —_ dlauicer Nike — Heeacl Dick and Leeing python Mie wilt handle Hure [i {eg Us wee axppitheations Types of ffles in fython | (0) | Bina file _ ‘ Binary ft tes ane thre ile Where the formack | sten't made. up of veacl able charactere » Binary files [uke JPEG, or GE ,audlo file Like MP3, _o¢ binary — document formal, Like word for POF. "TO open binary Pre In Python »_ files a opened fa ext modle. bey default To pon _ files by binary mode , When specifying & mode » ode “b” fo it. Mente | Y the 66 ode opens Hhe - file in binary format foy reading 4 while the “wh” made opens Be 3 fle tw binary “fox ak fury writing, Teach ar’s Signature... “