Guest User

Untitled

a guest
Nov 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. import argparse
  2.  
  3. parser = argparse.ArgumentParser(description='maizzle izzle ain\'tizzle beizzle lostizzle.\
  4. Itizzle justizzle tookizzle itselfizzle onizzle aizzle breakizzle \
  5. tizzle Newizzle Yorkizzle tizzle seeizzle thizzle bigizzle cityizzle')
  6. parser.add_argument('izzleitup', default='fo shiz', help='You best be needin\' a lot of it.', nargs='*')
  7. parser.add_argument('-d', '--debug', action='count', help='various debug shizzle')
  8. args=parser.parse_args()
  9.  
  10. if(args.debug>0){
  11. print args
  12. }
  13.  
  14. ret=""
  15.  
  16. for i in args.izzleitup.split(" "):
  17. if not i.endswith("izzle"):
  18. ret+=i+"izzle "
Add Comment
Please, Sign In to add comment