Re: problems writing tuple to log file

2006-02-03 Thread localpricemaps
the, the issue is that the last loop adds the last value of everything to the data array -- http://mail.python.org/mailman/listinfo/python-list

Re: problems writing tuple to log file

2006-02-03 Thread bruno at modulix
[EMAIL PROTECTED] wrote: > i am having a problem writing a tuple to a text file. my code is > below. I'd rather say you are having a problem with logic. > what i end up getting is a text file that looks like this > > burger, 7up > burger, 7up > burger, 7up Which is exactly what one would expec

Re: problems writing tuple to log file

2006-02-03 Thread Juho Schultz
[EMAIL PROTECTED] wrote: > i am having a problem writing a tuple to a text file. my code is > below. > > what i end up getting is a text file that looks like this > > burger, 7up > burger, 7up > burger, 7up > > and this is instead of getting a list that should look like this > > burger, 7up >

problems writing tuple to log file

2006-02-03 Thread localpricemaps
i am having a problem writing a tuple to a text file. my code is below. what i end up getting is a text file that looks like this burger, 7up burger, 7up burger, 7up and this is instead of getting a list that should look like this burger, 7up fries ,coke cake ,milk note that i have print stat