SANKAR ., 11.01.2011 01:00:
I am reading a Test.txt (see atatchment) file using following code to get
the T2:
F =open('C:\Test.txt','r')
T1 = F.readlines()
for i in range(len(T1)):
T2 = T1[i].split(',')
print(T2)
Take a look at the "csv" module in the standard library.
Stefan
On Jan 11, 4:02 am, Chris Rebert wrote:
> On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
> > Hello There,
>
> > I am from non IT field also new to python programming.Could you
> > please help me to solve the following problem?
>
> > I have a list T1 with following format:
>
> > T1 = [ '
Thanks Alan!
-Sankar
On Tue, Jan 11, 2011 at 2:50 PM, Alan Meyer wrote:
> On 1/10/2011 6:02 PM, Chris Rebert wrote:
>
>> On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
>>
>>> Hello There,
>>>
>>>
>>>I am from non IT field also new to python programming.Could you
>>> please help me to
On 1/10/2011 6:02 PM, Chris Rebert wrote:
On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
Hello There,
I am from non IT field also new to python programming.Could you
please help me to solve the following problem?
I have a list T1 with following format:
T1 = [ ' "Field" ' , ' "12.5"
Hi Chris ,
Thanks for your response.
I am reading a Test.txt (see atatchment) file using following code to get
the T2:
F =open('C:\Test.txt','r')
T1 = F.readlines()
for i in range(len(T1)):
T2 = T1[i].split(',')
print(T2)
Regards
Sankar
On Tue, Jan 11, 2011 at 10:02 AM, Chris Re
On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
> Hello There,
>
> I am from non IT field also new to python programming.Could you
> please help me to solve the following problem?
>
> I have a list T1 with following format:
>
> T1 = [ ' "Field" ' , ' "12.5" ', ' "2.5" ']
>
> How do get the
Hello There,
I am from non IT field also new to python programming.Could you
please help me to solve the following problem?
I have a list T1 with following format:
T1 = [ *' "*Field*" **' , ' "*12.5*" **', ' "*2.5*" ']*
* *
How do get the list elements without double quote in my output (T