Hi,
when I run the script show_args2.py
# ./show_args2.py 1 2 3
I get the following error
Traceback (most recent call last):
File "./show_args2.py", line 4, in ?
print 'The arguments of %s are "%s"' %s \
NameError: name 's' is not defined
#####################################
<mailto:[EMAIL PROTECTED]>
this is the script
#!/usr/bin/python
import sys, string
print 'The arguments of %s are "%s"' %s \
(sys.argv[0], string.join(sys.argv[1:]))
any help would be greatly appreciated
-Brian
--
http://mail.python.org/mailman/listinfo/python-list