Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

python help if you please

Name: Anonymous 2011-10-17 16:19

So I have a project that is requiring me to use lines and the split command.

Basically we input a file, go line by line, splitting each line which is fine but then I want to put the results of each index into a list.

So it looks something like
>for line in fileDescriptor:
   my_line=line.split()
how would I go about naming using a for loop, so I don't have to do something like
   y1+=my_list[1]
   y2+=my_list[2]
etc etc

Name: Anonymous 2011-10-17 17:05

mailto:noko
append my anus

Name: noko 2011-10-17 17:59

noko

Name: Anonymous 2011-10-17 18:25

sometimes I light a fire in my backyard and dance around it without any clothes on, it can help

Name: Anonymous 2011-10-17 20:45

>>1,3
Back to the image boards noko wielding faggots

Don't change these.
Name: Email:
Entire Thread Thread List