How to run a python script with a configuration file at command line ?

steph_awk stephane.larochelle at gmail.com
Thu Jun 3 12:32:34 EDT 2010


I have been searching for quite some times without success.

I have a python script that needs to start from command line and it
should have a config file to fill out the detais (itis one program,
and many possible configurations).

something as simple as PHP would be nice  %> ./PHPscript -c configfile

is there such a thing in Python?



More information about the Python-list mailing list