for the little script #egg.py import sys for k,v in enumerate(sys.argv): print k,v
it ignores the part after # on linux below is the running output on windows and linux. no clue here. D:\python\note>egg.py #test 0 D:\python\note\egg.py 1 #test D:\python\note>egg.py for bar #spam egg 0 D:\python\note\egg.py 1 for 2 bar 3 #spam 4 egg [EMAIL PROTECTED]:~/transfer$ python2.5 egg.py #test 0 egg.py [EMAIL PROTECTED]:~/transfer$ python2.5 egg.py foo bar #spam egg 0 egg.py 1 foo 2 bar -- http://mail.python.org/mailman/listinfo/python-list