简体   繁体   中英

How do I make a python shell start running

在此处输入图片说明

I wrote a program in my editor and clicked run(F5). Afterwards, in the python shell, I keyed in the desired inputs. What should i do next to make it start running? Attached picture is python editor and python shell.

Thanks!

Use CTRL-D to stop entering new sys.stdin.read() input. Also don't use this.

https://teamtreehouse.com/community/whats-the-difference-between-sysstdinread-and-input

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM