On Dec 28, 9:43 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 29, 1:12 pm, t_rectenwald <[EMAIL PROTECTED]> wrote:
>
> > I've noticed an oddity when running a program, using the csv module,
> > within IDLE. I'm new to Python so am confused by what is happening.
> > Here is what I'm doing:
>
On Dec 29, 1:12 pm, t_rectenwald <[EMAIL PROTECTED]> wrote:
> I've noticed an oddity when running a program, using the csv module,
> within IDLE. I'm new to Python so am confused by what is happening.
> Here is what I'm doing:
>
> 1) Open the IDLE Shell.
> 2) Select File | Open...
> 3) Choose my f
On Fri, 28 Dec 2007 18:12:58 -0800, t_rectenwald wrote:
> Within the program, the snippet where I use the csv module is below:
>
> ==
> csvfile = open('foo.csv', 'w')
> writer = csv.writer(csvfile)
>
> for row in rows:
> writer.writerow(row[0:3])
>
> csvfile.clos
I've noticed an oddity when running a program, using the csv module,
within IDLE. I'm new to Python so am confused by what is happening.
Here is what I'm doing:
1) Open the IDLE Shell.
2) Select File | Open...
3) Choose my file, foo.py, opening it in a window.
4) From that window, I hit F5 to run