def cmd_mkdir(*args):
    try:
        if args[0][1][0] == '~':
            args[0][1] = os.path.expanduser(args[0][1])
	os.makedirs(args[0][1])
        return "Directory {0} created".format(args[0][1])
    except __HOLE__ as exception:
        if exception.errno != errno.EEXIST:
	    raise
dataset/ETHPy150Open ueg1990/twilix/twilix/cmd.py/cmd_mkdir