sublime配置python3实现交互,Sublime Text 3 Python交互式控制台?

I have been using a lot of sublime text 3 to write python. However, whenever a program I make needs user input, nothing happens. For example:

number = input("What is your favorite number?: ")

print(number)

This simply gives me the input prompt in the console, but anything that I type is ignored. The

print(number)

is never run. Is there a way to use an interactive console for sublime text 3? I have heard of something called REPL that will do the job in ST2, but I want to use an interactive console for python3 in ST3.

As of now, I just run programs that need input from terminal. Sometimes I'll use Pycharm, but I'm still getting used to pycharm.

解决方案

SublimeREPL works for python3. Their current builds are actually all tested against ST3.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值