尝试测试从here 获取测试文件后得到的某个Naked模块在更改格式后甚至将py和js文件放在同一目录中。
from Naked.toolshed.shell import execute_js, muterun_js
success = execute_js('script.js')
我也试过C:\ ez \ script.js,C:\ ez \ script.js,C://ez//script.js和C:/ez/script.js仍然得到
Traceback (most recent call last):
File "C:/ez/ked.py", line 3, in <module>
success = execute_js('script.js')
File "C:\Python27\lib\site-packages\Naked\toolshed\shell.py", line 165, in execute_js
raise e
WindowsError: [Error 2] The system cannot find the file specified