Professional Documents
Culture Documents
The Programming Python
The Programming Python
Python'sdevelopmentcycleisdramaticallyshorterthanthatoftraditionaltools.InPython,there
arenocompileorlinksteps--Pythonprogramssimplyimportmodulesatruntimeandusethe
objectstheycontain.Becauseofthis,Pythonprogramsrunimmediatelyafterchangesare
made.
BecausePythonisinterpreted,there'sarapidturnaroundafterprogram
changes.AndbecausePython'sparserisembeddedinPython-basedsystems,
it'seasytomodifyprogramsatruntime.Forexample,wesawhowGUI
programsdevelopedwithPythonallowdeveloperstochangethecodethat
handlesabuttonpresswhiletheGUIremainsactive;theeffectofthecode
changemaybeobservedimmediatelywhenthebuttonispressedagain.
There'snoneedtostopandrebuild.Moregenerally,theentiredevelopment
processin Pythonisanexerciseinrapidprototyping.Pythonlendsitselfto