i didn't notice it and i'm really sorry. it works beautifully! thanks
once again :)
--
http://mail.python.org/mailman/listinfo/python-list
It's possible you will need to run python -u for this to behave as
expected. Otherwise python may buffer the output until it sees a
newline so you only see the last result.
-- David
--
http://mail.python.org/mailman/listinfo/python-list
Godwin Burby wrote:
> i think u've misunderstood my question. Your solution will print on a
> new line as below:
> c:\godwin\bl.csv 1
> c:\godwin\bl.csv 2
> c:\godwin\bl.csv 3
> But i want this number to diplay their value increase on the same line
> on the same sport itself without printing the f
On Tue, 20 Sep 2005 14:06:23 +0200, Fredrik Lundh wrote:
> Godwin Burby wrote:
>
>> print 'c:\godwin\bl.csv',
>> for i,row in enumerate(reader):
>># inserts or updates the database
>>print i,
>> This displays on the screen as :
>> c:\godwin\bl.csv 1 2 3 4 5 6 7 8
>> ^
>> B
thanks :) It works beautifully.
--
http://mail.python.org/mailman/listinfo/python-list
i think u've misunderstood my question. Your solution will print on a
new line as below:
c:\godwin\bl.csv 1
c:\godwin\bl.csv 2
c:\godwin\bl.csv 3
But i want this number to diplay their value increase on the same line
on the same sport itself without printing the filename multiple times
on multiple
Godwin Burby wrote:
> print 'c:\godwin\bl.csv',
> for i,row in enumerate(reader):
># inserts or updates the database
>print i,
> This displays on the screen as :
> c:\godwin\bl.csv 1 2 3 4 5 6 7 8
> ^
> But i want it to show the above numbers on the same spot denoted by the
Dear Pythoneer,
I am writing a python script which inserts or updates a database
from a csv file. i've done the functionality. But i would to like to
show the user the current row being inserted or updated in the screen.
This can be done as follows:
print 'c:\godwin\bl.csv',
for i,row in enume