import sys path = "" args = sys.argv if (len(args) > 1): path = args[1] else: print("NEED PATH !!!") exit(0) print(path)