Re: [Tutor] Converting a String to a Tuple

2005-11-04 Thread Danny Yoo
On Fri, 4 Nov 2005, Carroll, Barry wrote: > My UDP client is receiving responses from the server, and now I need to > process them. A typical response string looks like this: > > "(0, ''),some data from the test system" > > The tuple represents the error code and message. If the command ha

Re: [Tutor] Converting a String to a Tuple

2005-11-04 Thread Kent Johnson
Carroll, Barry wrote: > Greetings: > > My UDP client is receiving responses from the server, and now I need to > process them. A typical response string looks like this: > > "(0, ''),some data from the test system" > > The tuple represents the error code and message. If the command had fai

Re: [Tutor] Converting a String to a Tuple

2005-11-04 Thread Orri Ganel
Carroll, Barry wrote: >Greetings: > >My UDP client is receiving responses from the server, and now I need to >process them. A typical response string looks like this: > >"(0, ''),some data from the test system" > >The tuple represents the error code and message. If the command had failed, >t

[Tutor] Converting a String to a Tuple

2005-11-04 Thread Carroll, Barry
Greetings: My UDP client is receiving responses from the server, and now I need to process them. A typical response string looks like this: "(0, ''),some data from the test system" The tuple represents the error code and message. If the command had failed, the response would look like this