Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/354.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
发生异常,请使用%tb查看完整回溯。python_Python_File_Csv_Date_Main - Fatal编程技术网

发生异常,请使用%tb查看完整回溯。python

发生异常,请使用%tb查看完整回溯。python,python,file,csv,date,main,Python,File,Csv,Date,Main,我编写了一个脚本来管理我的文件(获取csv文件) 这是脚本,但我得到了这个错误。我不明白,我应该怎么做: usage: __main__.py [-h] [--output OUTPUT] date __main__.py: error: unrecognized arguments: -f An exception has occurred, use %tb to see the full traceback. SystemExit: 2 你是如何运行这个脚本的?命令行是什么样子的? u

我编写了一个脚本来管理我的文件(获取csv文件)

这是脚本,但我得到了这个错误。我不明白,我应该怎么做:

usage: __main__.py [-h] [--output OUTPUT] date
__main__.py: error: unrecognized arguments: -f

An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

你是如何运行这个脚本的?命令行是什么样子的?
usage: __main__.py [-h] [--output OUTPUT] date
__main__.py: error: unrecognized arguments: -f

An exception has occurred, use %tb to see the full traceback.

SystemExit: 2