optparse

is your friend.

-aj

2010/6/3 steph_awk <stephane.laroche...@gmail.com>

> 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?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to