Hi, I run simple script # u.py import sys print 'args',sys.argv
in "Command Prompt" window, with 2 command lines on 2 PCs: # Case (1L): C:\tmp> u.py a b c args ['C:\\tmp\\u.py'] # Case (1D): C:\tmp> u.py a b c args ['C:\\tmp\\u.py', 'a', 'b', 'c'] # Cases (2L) & (2D): C:\tmp> C:\Python24\python u.py a b c args ['u.py', 'a', 'b', 'c'] How to explain this ? Particularly case (1L) without arguments. Both PCs have Python 2.4.2 and Windows XP SP2. The only difference I see is XP 'Home Edition' on Desktop (D) and XP 'Professional' on Laptop (L). Eugene -- http://mail.python.org/mailman/listinfo/python-list