Why use Python interactive mode?

前端 未结 10 620
盖世英雄少女心
盖世英雄少女心 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:18

    Interactive mode makes it easy to test code snippets before incorporating them into a larger program. If you use IDLE there's syntax highlighting and argument pop-ups to help you out. It's also a quick way of checking that you've figured out how to use a module without having to write a test program.

提交回复
热议问题