:\codepython divbad py error text omitted zerodivisionerrordivision by zero run the buggy script :\codepython - divbad py error text omitted zerodivisionerrordivision by zero import pdb pdb pm( :\code\divbad py( )(-print( (pdbquit print variable values at error start full debugger session now python command-line arguments besides those just mentionedpython supports additional options that promote compatibility (- to warn about incompatibilitiesand - to control division operator modelsand detecting inconsistent tab indentation usagewhich is always detected and reported in (-tsee againyou can always ask python itself for more on the subject as neededc:\codec:\python \python - python windows launcher command lines technicallythe preceding section described the arguments you can pass to the python interpreter itself--the program usually named python exe on windowsand python on linux (the exe is normally omitted on windowsas we'll see in the next appendixthe windows launcher shipped with python augments this story for users of and later or the standalone launcher package it adds new executables that accept python version numbers as arguments in command lines used to start python and your scripts (file what py is listed and described in the next appendixand simply prints the python version number) :\codepy what py windows launcher command lines :\codepy - what py version number switch :\codepy - - what py - - - ^ arguments for all pypythonscript in factas the last run of the preceding example showscommand lines using the launcher can give arguments for the launcher itself (- )python itself (- )and your script (- -band -cthe launcher can also parse version numbers out of #unix lines configuring python