How to write at a sppecific location

Vishnu vishnu at acmet.com
Tue Jul 19 09:14:52 CEST 2005


Hi Pooja,

Check the fileinput module's input function.

~Vishnu

-----Original Message-----
From: python-list-bounces+vishnu=acmet.com at python.org
[mailto:python-list-bounces+vishnu=acmet.com at python.org] On Behalf Of
Pooja
Sent: Tuesday, July 19, 2005 12:29 PM
To: python-list at 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




More information about the Python-list mailing list