how to run a python file with another file as an argument!
Carmine Noviello
cnoviello at hotmail.com
Thu Feb 5 16:32:01 EST 2004
"se7en" <binary101010 at yahoo.com> wrote in message
news:ea69a371.0402051328.24de727a at posting.google.com
> okay,
>
> i cant seem to run a file with another file as an argument.
>
> e.g I want to send the file "x.met" as an argument when running the file "y.py"
>
> thanx
> -python newbie-
Maybe you are looking for 'sys.argv' list?
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
More information about the Python-list
mailing list