Why use Python interactive mode?

前端 未结 10 610
盖世英雄少女心
盖世英雄少女心 2020-12-17 09:34

When I first started reading about Python, all of the tutorials have you use Python\'s Interactive Mode. It is difficult to save, write long programs, or edit your existing

10条回答
  •  被撕碎了的回忆
    2020-12-17 10:23

    You're talking about running Python in the console by simply typing "python"? That's just for little tests and for practicing with the language. It's very useful when learning the language and testing out other modules.

    Of course any real software project is written in .py files and later executed by the interpreter!

提交回复
热议问题