[Tutor] Arguments from the command line

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu Sep 9 02:38:04 CEST 2010

In message <mailman.501.1283789339.29448.python-list at python.org>, Hugo Arts 

> sys.argv is a list of all arguments from the command line ...

Interesting that Python didn’t bother to mimic the underlying POSIX 
convention of passing the command line as arguments to the mainline routine.

I always felt it was more useful to have command arguments directly 
accessible as globals, rather than having to pass them from the mainline.

More information about the Python-list mailing list