Re: **argv can't work

2007-01-20 Thread Roel Schroeven
Steven D'Aprano schreef: > Its because of an evil terrorist plot. I suggest you invade Belgium, that > should fix it. Please notify me in time so I can emigrate before it's too late. -- If I have been able to see further, it was only because I stood on the shoulders of giants. -- Isaac Newton

Re: **argv can't work

2007-01-19 Thread Jm lists
Thanks for all the kind helps! 2007/1/20, Parthan SR <[EMAIL PROTECTED]>: > > > On 1/20/07, Jm lists <[EMAIL PROTECTED]> wrote: > > hello members, > > > > See my script piece below: > > > > def testB(shift,**argv): > > print "first argument is %s" %shift > > print "all other arguments are:

Re: **argv can't work

2007-01-19 Thread Parthan SR
On 1/20/07, Jm lists <[EMAIL PROTECTED]> wrote: hello members, See my script piece below: def testB(shift,**argv): print "first argument is %s" %shift print "all other arguments are:",argv testB('mails','Jen','[EMAIL PROTECTED]','Joe','[EMAIL PROTECTED]') It can't work at all.please

Re: **argv can't work

2007-01-19 Thread Steven D'Aprano
On Sat, 20 Jan 2007 11:20:29 +0800, Jm lists wrote: > hello members, > > See my script piece below: > > def testB(shift,**argv): > print "first argument is %s" %shift > print "all other arguments are:",argv > > testB('mails','Jen','[EMAIL PROTECTED]','Joe','[EMAIL PROTECTED]') > > It c

Re: **argv can't work

2007-01-19 Thread rzed
"Jm lists" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > hello members, > > See my script piece below: > > def testB(shift,**argv): > print "first argument is %s" %shift > print "all other arguments are:",argv > > testB('mails','Jen','[EMAIL PROTECTED]','Joe','[EMAIL PROTECTED

**argv can't work

2007-01-19 Thread Jm lists
hello members, See my script piece below: def testB(shift,**argv): print "first argument is %s" %shift print "all other arguments are:",argv testB('mails','Jen','[EMAIL PROTECTED]','Joe','[EMAIL PROTECTED]') It can't work at all.please help tell me the reasons.thanks. -- http://mail.py