with open('..//file//listed_task_delete_ods-log.txt', 'w') as a
是不是我使用相对路径的关系,右击run的时候正常,在terminal运行时就报错 FileNotFoundError: [Errno 2] No such file or directory: '..//file//listed_task_delete_ods-log.txt'
将代码改成with open('file//listed_task_delete_ods-log.txt', 'w') as a,terminal运行正常,右击run就报错,有什么方法解决吗?