Re: Separate Rows in reader

2013-03-27 Thread Jiewei Huang
On Tuesday, March 26, 2013 1:48:10 PM UTC+10, MRAB wrote: On 26/03/2013 03:33, Jiewei Huang wrote: On Tuesday, March 26, 2013 11:40:51 AM UTC+10, Dave Angel wrote: On 03/25/2013 09:05 PM, Jiewei Huang wrote: On Monday, March 25, 2013 11:51:51 PM UTC+10, rusi wrote: If you

Re: Separate Rows in reader

2013-03-27 Thread Jiewei Huang
On Wednesday, March 27, 2013 9:18:28 PM UTC+10, rusi wrote: On Mar 27, 2:35 pm, Jiewei Huang jiewe...@gmail.com wrote: On Tuesday, March 26, 2013 1:48:10 PM UTC+10, MRAB wrote: On 26/03/2013 03:33, Jiewei Huang wrote: On Tuesday, March 26, 2013 11:40:51 AM UTC+10, Dave Angel

Re: Separate Rows in reader

2013-03-27 Thread Jiewei Huang
On Wednesday, March 27, 2013 9:18:28 PM UTC+10, rusi wrote: On Mar 27, 2:35 pm, Jiewei Huang jiewe...@gmail.com wrote: On Tuesday, March 26, 2013 1:48:10 PM UTC+10, MRAB wrote: On 26/03/2013 03:33, Jiewei Huang wrote: On Tuesday, March 26, 2013 11:40:51 AM UTC+10, Dave Angel

Re: Separate Rows in reader

2013-03-26 Thread Jiewei Huang
On Tuesday, March 26, 2013 1:48:10 PM UTC+10, MRAB wrote: On 26/03/2013 03:33, Jiewei Huang wrote: On Tuesday, March 26, 2013 11:40:51 AM UTC+10, Dave Angel wrote: On 03/25/2013 09:05 PM, Jiewei Huang wrote: On Monday, March 25, 2013 11:51:51 PM UTC+10, rusi wrote: If you

Re: Separate Rows in reader

2013-03-25 Thread Jiewei Huang
On Sunday, March 24, 2013 9:10:45 PM UTC+10, ypsun wrote: Jiewei Huang於 2013年3月24日星期日UTC+1上午6時20分29秒寫道: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3

Re: Separate Rows in reader

2013-03-25 Thread Jiewei Huang
On Monday, March 25, 2013 11:51:51 PM UTC+10, rusi wrote: On Mar 25, 11:52 am, Jiewei Huang jiewe...@gmail.com wrote: On Sunday, March 24, 2013 9:10:45 PM UTC+10, ypsun wrote: Jiewei Huang於 2013年3月24日星期日UTC+1上午6時20分29秒寫道: Hi all, Currently create a simple text-based

Re: Separate Rows in reader

2013-03-25 Thread Jiewei Huang
On Tuesday, March 26, 2013 11:40:51 AM UTC+10, Dave Angel wrote: On 03/25/2013 09:05 PM, Jiewei Huang wrote: On Monday, March 25, 2013 11:51:51 PM UTC+10, rusi wrote: If you insist on using GoogleGroups, then make sure you keep your quotes small. I'm about to stop reading

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 3:46:49 PM UTC+10, Dave Angel wrote: On 03/24/2013 01:20 AM, Jiewei Huang wrote: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 5:34:03 PM UTC+10, rusi wrote: On Mar 24, 10:46 am, Dave Angel da...@davea.name wrote: On 03/24/2013 01:20 AM, Jiewei Huang wrote: this is the data in csv file http://imgur.com/L4qUkGQ and this is the correct output that i need to get: [('John Konon

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 3:20:29 PM UTC+10, Jiewei Huang wrote: thanks to you guys i got my desire outcome! i will continue to code on writing and saving of csv file -- http://mail.python.org/mailman/listinfo/python-list

Separate Rows in reader

2013-03-23 Thread Jiewei Huang
Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name AddressTelephone Birthday John Konon Ministry of Moon Walks 4567882 27-Feb Stacy Kisha Ministry of Man

A string and an integer to appear in tuple (python 2.7)

2013-03-12 Thread Jiewei Huang
Hi all, I'm currently stuck at this question on Writing a function len_str that takes a string as an argument and returns a pair consisting of the length of the string and the string itself. Example: len_str('Meaning of life') should return the tuple (15, 'Meaning of life'). I can only