On 2005-02-15, @(none) <""> wrote:
> Michael Lang wrote:
>> using psql it works fine, but i dont know how to get it working in python.
>> Ive already made the calls but the changes never apper, and no error.
>
> Which Postgres module are you using? I had
d db.putline() but no success.
Kind regards for any help
Michael Lang
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>, Peter Nuttall wrote:
> On Wed, Feb 02, 2005 at 11:47:41PM -0500, Caleb Hattingh wrote:
>> Hi Alex
>>
>> Assuming you have a file called "data.txt":
>>
>> ***
>> f = open('data.txt','r')
>> lines = f.readlines()
>> f.close()
>> for line in lines:
>> print line
>