This is bill's method written out in code which is the python you seek, 
young warrior!

inname = 'inputfile'
outname = 'outfile'

infile = open(inname,'r')
outfile = open(outname,'w')
infile.readline()
line = infile.readline()
while line != "":
  outfile.write(line)
infile.close()
outfile.close()
os.rename(inname,outname) 

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to