Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for opt , arg in opts:
- if opt in ("-f"):
- for line, lines in enumerate(fileinput.input(args)):
- if line == 2:
- print(lines)
- elif opt in ("-h"):
- print("it is just a help")
- elif opt in ("-d"):
- print ( "Debug is On" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement