Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Dave Angel
Marv Boyes wrote: I'm very sorry; I should have been more explicit in what it is I'm working with. The response from the server consists of a pair of hashes and a list of URLs for doing different things with the file the hashes represent. So the full response is like this: file_hash

Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Dave Angel
Marv Boyes wrote: Hello, all. This is probably embarrassingly basic, but I haven't been able to find something that works. I'm working on a script that needs to manipulate a list (not 'list' in the Python sense) of URLs returned in a server response. Right now, I'm stripping the XML tags fro

Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Jeremy Hoon
On Thu, Jul 30, 2009 at 4:26 PM, Marv Boyes wrote: > I'm very sorry; I should have been more explicit in what it is I'm working > with. > > The response from the server consists of a pair of hashes and a list of URLs > for doing different things with the file the hashes represent. So the full > res

Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Marv Boyes
I'm very sorry; I should have been more explicit in what it is I'm working with. The response from the server consists of a pair of hashes and a list of URLs for doing different things with the file the hashes represent. So the full response is like this: file_hash delete_has

Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Kent Johnson
On Thu, Jul 30, 2009 at 3:19 PM, Marv Boyes wrote: > Hello, all. This is probably embarrassingly basic, but I haven't been able > to find something that works. > > I'm working on a script that needs to manipulate a list (not 'list' in the > Python sense) of URLs returned in a server response. Right

Re: [Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread vince spicer
On Thu, Jul 30, 2009 at 1:19 PM, Marv Boyes wrote: > Hello, all. This is probably embarrassingly basic, but I haven't been able > to find something that works. > > I'm working on a script that needs to manipulate a list (not 'list' in the > Python sense) of URLs returned in a server response. Rig

[Tutor] Assigning each line of text to a separate variable

2009-07-30 Thread Marv Boyes
Hello, all. This is probably embarrassingly basic, but I haven't been able to find something that works. I'm working on a script that needs to manipulate a list (not 'list' in the Python sense) of URLs returned in a server response. Right now, I'm stripping the XML tags from that response and