Coderunner 问题 Mac
请任何人都可以帮助我,代码运行器仅在运行 python 文件后显示正确的输出。
例如
,我在终端中使用了“运行 python 文件”选项,它起作用了
它仅在我使用 python 文件运行后才会更改。所以我必须在终端中运行它才能显示正确的输出。代码运行器仅镜像终端中的最后一个输出
Please can anyone help me out code runner only shows the right output after running the python file.
For example
Here I used the option "run python file" in terminal and it worked
Then i ran it using coderunner extension and it works
But when i change the output and run it, it doesn't change
It only changes after i run it with python file. So I have to run it in terminal for the right output to show. code runner only mirrors the last output in terminal
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能看起来很明显,但在第三张图片中,正如您从选项卡上的白色圆圈中看到的那样,要关闭的 x 通常所在的位置表示您尚未保存文件,因此它将输出您上次使用该文件运行时的结果'运行Python文件'。 “运行 python 文件”按钮在自动运行之前保存,因此很容易意外错过原因,因为现在它使用新输入保存,并且您的代码运行器将再次输出新结果,使其看起来好像在复制“运行 python”文件”按钮。
This may seem obvious but in the third picture, as you can see from the white circle on the tab where the x to close usually resides indicates that you have not saved the file hence it will output results from the last time you ran it using the 'run python file'. The 'run python file' button saves before running automatically so it would be easy to accidently miss the cause as now its saved with the new input and your code runner will output the new result again making it seem as though its duplicating the 'run python file' button.