#NEWLINE# def main( argv ) : #NEWLINE# #INDENT# parser = argparse . ArgumentParser ( ) #NEWLINE# parser . add_argument ( '-p' , action = 'store_true' , help = 'Creates full path' ) #NEWLINE# parser . add_argument ( '-m' , action = 'store_true' , help = 'Give a specific mode' ) #NEWLINE# parser . add_argument ( 'directory' , nargs = argparse . REMAINDER ) #NEWLINE# argv = parser . parse_args ( ) #NEWLINE# argv . mod = '777' #NEWLINE# if argv . m : #NEWLINE# #INDENT# argv . mod = argv . directory [ 0 ] #NEWLINE# argv . directory = argv . directory [ 1 : ] #NEWLINE# #UNINDENT# _cd ( argv . directory [ 0 ] , path = argv . p , mod = argv . mod )