Passing parameters at the command line (New Python User)

Diez B. Roggisch deets at nospam.web.de
Mon Sep 24 04:47:17 EDT 2007


 cjt22 at bath.ac.uk wrote:

> Hi there. I just wondered whether anyone could recommend the correct
> way I should be passing command line parameters into my program. I am
> currently using the following code:

<snip/>

Use the module optparse.

Diez



More information about the Python-list mailing list