1

[SOLVED] python help

view story
linux-howto

http://ubuntuforums.org – Hello all, I am working on a python script and this is what i have Code: from sys import argv script, filename = argv print "We're going to erase %r " % filename print "If you don't want that, hit Ctrl -C (^C)." print "If you do want that, hit RETURN." raw_input("?") print "Opening the file..." target = open(filename, 'w') print "Truncating the file. Goodbye!" target.truncate() print "Now I'm going to ask you for three lines." line1 = raw_input("line 1: ") line2 = raw_input("line 2: ") line3 (Hardware)