I am trying to upload a csv file (called data) using the following script:
i=0
d=data.readlines()
for row in d:
i+=1
a=row.split(',')
if i > 1:
subjectid=a[0]
entry=a[1]
type=a[2]
studentid=a[3]
try:
contex
+---[ Garry Saddington ]--
| I am trying to upload a csv file (called data) using the following script:
|
| i=0
| d=data.readlines()
| for row in d:
| i+=1
| a=row.split(',')
| if i > 1:
| subjectid=a[0]
| entry=a[1]
|
Andrew Milton wrote:
> +---[ Garry Saddington ]--
> | I am trying to upload a csv file (called data) using the following script:
> |
> | i=0
> | d=data.readlines()
> | for row in d:
> | i+=1
> | a=row.split(',')
> | if i > 1:
> | subj