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

python help

Name: lol 2009-02-27 0:32

data = inFile.readlines()

when i do that it returns the lines as strings including the "\n"
i however need those to gtfo, how do i do this?

Name: Anonymous 2009-02-27 2:10

for line in data: line = line[:-1]

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