newbie question...

r rt8396 at gmail.com
Fri Dec 12 18:59:55 CET 2008


yes, but your script will need to know hoe to handle this.the
following will open a file who's name was passed to the script

if len(sys.argv) > 1:
    try:
        open_file(fname=sys.argv[1])
    except:
        pass



More information about the Python-list mailing list