How to write at a sppecific location

2005-07-19 Thread Pooja
Hi All

I have one csv file which has some data related to test results.

It has following information
TestId,Expectedres,Actualres
101,12,13
102,13
103,14

If I want to write ActualRes value in the file , How to do that.

I tried using seek but its not working. I am not able to write at a
specific location.

Please tell me what is the rght way. I have chked all the docs but was
not able to find any good solution.

-- 
http://mail.python.org/mailman/listinfo/python-list


RE: How to write at a sppecific location

2005-07-19 Thread Vishnu
Hi Pooja,

Check the fileinput module's input function.

~Vishnu

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pooja
Sent: Tuesday, July 19, 2005 12:29 PM
To: python-list@python.org
Subject: How to write at a sppecific location

Hi All

I have one csv file which has some data related to test results.

It has following information
TestId,Expectedres,Actualres
101,12,13
102,13
103,14

If I want to write ActualRes value in the file , How to do that.

I tried using seek but its not working. I am not able to write at a
specific location.

Please tell me what is the rght way. I have chked all the docs but was
not able to find any good solution.

-- 
http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list