PyCharm:如何调试来自键盘的“raw_input()"输入? [英] PyCharm: How to debug `raw_input()` input from keyboard?

查看:33
本文介绍了PyCharm:如何调试来自键盘的“raw_input()"输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Python 的

I am using Python's raw_input to get input from keyboard.

How do I debug my code with PyCharm? I am unable to input from keyboard when (for example) name = raw_input("Input your name") is executed.

解决方案

You enter the input into the console that shows up, when you compile and run your script. Like so, the green text is the input.

这篇关于PyCharm:如何调试来自键盘的“raw_input()"输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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