How to send a file as an argument when running another file in Python

Diez B. Roggisch deets_noospaam at
Thu Feb 5 23:13:59 CET 2004

se7en wrote:

> I have this file and I need to execute it with y.met as an
> argument.  Unsure of syntax etc...

import sys
print sys.argv


Diez B. Roggisch

More information about the Python-list mailing list