Re: Disassembling strings and turning them into function parameters

2005-01-30 Thread mercuryprey
Hey, that's exactly what I need! Thanks for your help, the others too of course :) Didn't expect to get answers so quickly.. -- http://mail.python.org/mailman/listinfo/python-list

Re: Disassembling strings and turning them into function parameters

2005-01-30 Thread M.E.Farmer
[EMAIL PROTECTED] wrote: > Hi, > I'm pretty new to Python, to programming overall...so how would I make > something where the user inputs multiple words in a string - like > "connect 123.123.123.123 21 user password" or similar, and then I can > split this string up to pass these arguments to a fun

Re: Disassembling strings and turning them into function parameters

2005-01-30 Thread Fredrik Lundh
<[EMAIL PROTECTED]> wrote: > I'm pretty new to Python, to programming overall...so how would I make > something where the user inputs multiple words in a string - like > "connect 123.123.123.123 21 user password" or similar, and then I can > split this string up to pass these arguments to a functi

Re: Disassembling strings and turning them into function parameters

2005-01-30 Thread Peter Hansen
[EMAIL PROTECTED] wrote: Hi, I'm pretty new to Python, to programming overall...so how would I make something where the user inputs multiple words in a string - like "connect 123.123.123.123 21 user password" or similar, and then I can split this string up to pass these arguments to a function like

Disassembling strings and turning them into function parameters

2005-01-30 Thread mercuryprey
Hi, I'm pretty new to Python, to programming overall...so how would I make something where the user inputs multiple words in a string - like "connect 123.123.123.123 21 user password" or similar, and then I can split this string up to pass these arguments to a function like ftp_connect(ip, port, us