Created
June 28, 2012 08:58
-
-
Save nightpool/3010021 to your computer and use it in GitHub Desktop.
-izzle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
parser = argparse.ArgumentParser(description='maizzle izzle ain\'tizzle beizzle lostizzle.\ | |
Itizzle justizzle tookizzle itselfizzle onizzle aizzle breakizzle \ | |
tizzle Newizzle Yorkizzle tizzle seeizzle thizzle bigizzle cityizzle') | |
parser.add_argument('izzleitup', default='fo shiz', help='You best be needin\' a lot of it.', nargs='*') | |
parser.add_argument('-d', '--debug', action='count', help='various debug shizzle') | |
args=parser.parse_args() | |
if(args.debug>0){ | |
print args | |
} | |
ret="" | |
for i in args.izzleitup.split(" "): | |
if not i.endswith("izzle"): | |
ret+=i+"izzle " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment