它运行正常,直到在新的unix环境中,它停止工作,并出现以下错误: AttributeError: 'javapackage' object has no attribute 'SEC_SEGMENT'我的测试脚本如下所示: #!%f')[:-3]
new_domain=config.SEC_SEGMENT['new_domain'
1.我是个编程新手,我把我所有的python代码存储在: C:\Users\(MyName)\Documents\Python Scripts 2.我在记事本(list.txt)中创建了一个txt文件,并将其存储在相同的位置 3.我想在Spyder中读取该文件: file = open('list.txt', 'r')file.close() 4.我得到一个错误FileNotFoundError: [Errno 2] No such file or direct