怎么用atom运行python_在atom中运行python输入用户

I am new to Atom and coding in general. On my HND I have used Sublime Text 3 so taking a look at Atom.

So far, so good.

I have decided to start learning Python.

I created my first script which just asks a user for their name and age. I have used Pythons input() function to request this information.

I installed the package Script https://atom.io/packages/script 1.1k

This ran the script well but couldn’t deal with the input.

I have also tried a number of other options but havn’t had any success.

Any ideas how to build and execute scripts from within Atom. I don’t mind if it just simply saved the script and opened Pythons IDLE at a minimun.

I think I am a long way of from being able to build such a thing.

(maybe sometime in the future)

解决方案

Script Runner can run scripts and supports input, unlike Script. It's the simplest full terminal package that I know of. To run a script, press Alt+X

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值