6. Modules¶ If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to write a somewhat longer program, you are better off using a text editor to prepare the input for the interpreter and running it with that file as input instead. This is known as creating a script. As your program gets longer, you may wa
![6. Modules](https://cdn-ak-scissors.b.st-hatena.com/image/square/3a53e982d46d56c53fb3e7f0b5e3d2ce30a8f391/height=288;version=1;width=512/https%3A%2F%2Fdocs.python.org%2F3%2F_static%2Fog-image.png)