Advertisement
Guest User

Untitled

a guest
Nov 17th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import fileinput
  2. import sys
  3.  
  4. for line in fileinput.input(['fizz.py'], inplace=True):
  5.     if fileinput.filelineno() == 3:
  6.         sys.stdout.write('# {l}'.format(l=line))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement