Khalid Al-Ghamdi wrote:
Hi everybody,
I'm running python 2.6.1 on vista and I'm trying to use the csv module to
write to a csv file and get the average of some numbers, but I keep getting
the following error:
Traceback (most recent call last):
File "C:\Python31\MyCSVProjectFinal.py", line 83,
Hi everybody,
I'm running python 2.6.1 on vista and I'm trying to use the csv module to
write to a csv file and get the average of some numbers, but I keep getting
the following error:
Traceback (most recent call last):
File "C:\Python31\MyCSVProjectFinal.py", line 83, in
writer.writerow(h
I think my problem was naming of the files, changed them and its fine now.
Man, i feel stupid.
When I have finished my project i'll share it with you guys!
On 28/02/2008, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
> imonthejazz wrote:
> > Hi All,
> >
> > I am trying to read a line in a file then
imonthejazz wrote:
> Hi All,
>
> I am trying to read a line in a file then split the words in the line up.
>
> This is what i thought would work:
>
> # filearray.py
>
> import string
>
> # THE FOLLOWING FOUR LINE ARE THE CORRECT START TO THE PROGRAM,
> # THE SIXTH AND SEVENTH LINES ARE ONLY FO
Hi All,
I am trying to read a line in a file then split the words in the line up.
This is what i thought would work:
# filearray.py
import string
# THE FOLLOWING FOUR LINE ARE THE CORRECT START TO THE PROGRAM,
# THE SIXTH AND SEVENTH LINES ARE ONLY FOR QUICK TEST PURPOSE!!!
infilename = raw_in