jupyter报错name ‘__file__‘ is not defined、parser.parse_args语句报错

‘file’ is not defined解决方法:将’____file ____'替换为sys.argv[0]
parser解决方法:替换为parser.parse_args(args=[])

你可能感兴趣的:(jupyter报错name ‘__file__‘ is not defined、parser.parse_args语句报错)