用于执行代码的集成窗口? [英] Integrated window for executing code?

查看:65
本文介绍了用于执行代码的集成窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

到目前为止,每次我想测试我的代码时,控制台都会打开。

so far everytime I want to test my code the console is opening.

是否可以代替打开控制台,在Visual Studio中显示我的代码结果,就像在PyCharm或其他环境中一样?到目前为止我找不到它。

Is it possible to instead of opening the console, to display the results of my code in visual studio like it works in PyCharm or other enviroments? So far I couldn't find it.

干杯

推荐答案

嗨Thomas,

欢迎来到MSDN论坛。

请参阅您的说明,我发现有一个" Python Interactive "窗口应该符合您的要求。请看看

使用Python交互式窗口

Refer to your description, I found there has a "Python Interactive" windows should meet your requirement. Please have a look at this: Working with the Python Interactive Window

有几种方法可以打开环境的交互式窗口,我尝试创建一个python应用程序并打开默认的
* .py文件,键入一些代码和保存。转到Debug>在Python Interactive中执行文件以调用此交互式窗口并且工作正常如下,您还可以根据实际情况选择其他方式打开此窗口。

最好的问候,

Sara


这篇关于用于执行代码的集成窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆