admin 管理员组文章数量: 1087649
Here are the settings I am using:
External Tool Properties
Title: Python 2
Command: C:\Windows\System32\cmd.exe
Arguments: /k python $(Path)
Initial Directory: $(Dir)
Icon Path: C:\Users\xxxxx\AppData\Local\Programs\Python\Python313\python.exe
Save File = Y
Use Current Environment Variables = No
Use Output Bar = No
Set Focus in Output Bar = No
Close on Exit = No
Input = None
Add EOF (Ctrl-Z, U-001A or 1AH) = No
Output = Discard
Encoding = UTF-8
Standard Error: = Discard
This configuration lets me run python code in an interactive mode, but only if there are no spaces in the complete filename. I am new to this editor and assume there is some option I missed.
Suggestions?
Here are the settings I am using:
External Tool Properties
Title: Python 2
Command: C:\Windows\System32\cmd.exe
Arguments: /k python $(Path)
Initial Directory: $(Dir)
Icon Path: C:\Users\xxxxx\AppData\Local\Programs\Python\Python313\python.exe
Save File = Y
Use Current Environment Variables = No
Use Output Bar = No
Set Focus in Output Bar = No
Close on Exit = No
Input = None
Add EOF (Ctrl-Z, U-001A or 1AH) = No
Output = Discard
Encoding = UTF-8
Standard Error: = Discard
This configuration lets me run python code in an interactive mode, but only if there are no spaces in the complete filename. I am new to this editor and assume there is some option I missed.
Suggestions?
Share Improve this question asked 2 days ago Tamitik_TechTamitik_Tech 1615 bronze badges1 Answer
Reset to default 0You can add double quotes in your arguments so that it is:
/k python "$(Path)"
This will properly include any spaces in the path.
本文标签: Emeditor python tool only works if there are no spaces in the filenameStack Overflow
版权声明:本文标题:Emeditor , python tool only works if there are no spaces in the filename - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1738218706a1945171.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论