Transcription of C -1. WHAT S NEW IN “DIVE INTO PYTHON 3”
{{id}} {{{paragraph}}}
SNEWIN DIVEINTOPYTHON3 Isn tthiswherewecamein? PinkFloyd, THEMINUSLEVEL Youreadtheoriginal DiveIntoPython andmaybeevenboughtitonpaper.(Thanks!) ,readon.(Ifnoneofthatistrue,you dbebetteroffstartingatthebeginning.) ,it sagoodstartingpointtolearnaboutalotofthe syntaxchangesinPython3.(printisnowafunct ion,`x`doesn twork,&c.)CaseStudy:PortingchardettoPyth on3documentsmy(ultimatelysuccessful) ; safairlysteeplearningcurve,sinceyouneedt okindofunderstandthelibraryfirst, strings and Unicodestrings. Python3has bytes and strings. Thatis,allstringsarenowUnicodestrings,an difyouwanttodealwithabagofbytes, ,soifyou renotsurewhichoneyouhaveatanygivenmoment , InFiles,you lllearnthedifferencebetweenreadingfilesi n binary and text (andwriting!)
C. HAPTER. 0. I. NSTALLING. P. YTHON Tempora mutantur nos et mutamur in illis. (Times change, and we change with them.) — ancient Roman proverb. 0.1.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}