最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I make Spyder run files without a python extenstion? - Stack Overflow

programmeradmin5浏览0评论

Older versions of Spyder did not seem to have this problem but I'm currently running Spyder 6.0.6 and it does not let me run any files unless it has a recognized python extension. This is becoming an inconvenience as I am developing a python script tool for ArcGIS Pro that uses the .pyt extension. The only documentation I see at all on this is from another question that simply states you must use the .py extension found here Spyder 3.0 won't let me run file

I went to tools->preferences->Run and I see that I can set behavior based on file extensions but it seems to only let me use .py, .pyx, and .ipy.

发布评论

评论列表(0)

  1. 暂无评论