[Tutor] program idea

Kirk Bailey idiot1@netzero.net
Thu May 15 00:08:01 2003


I have abn idea for a tool program.
it would read in a script, and write it out again with a line number in a comment  at 
the end of each line, as

f1=open(filename,mode)	#121
owner=string.strip(f1.readline())	#122
passwd=string.strip(f1.readline())	#123
f1.close()	#123
##124

etc.
Line numbering gets VERY confusing if you slip up even a little when doing it by hand.

Another would remove such and redo it when creating a new version with new lines in teh 
script.

Any discussion?

-- 

end

Respectfully,
              Kirk D Bailey

  +------------------------------------------------------------+
  | Owner  Howler Monkey  Email:  http://www.howlermonkey.net/ |
  | Inventor of TinyList list server: http://www.tinylist.org/ |
  | Consulting freestyle Grump: http://www.sacredelectron.org/ |
  | Remember: When we referr to FREE software, we are talking  |
  |           about FREEDOM, not $PRICE$.                      |
  +------------------------------------------------------------+