+ 1
How do I create a program if python only runs single lines
3 odpowiedzi
+ 3
You probably think that because you are using the interactive mode.
You can create a text file (if you are using IDLE, look in File > New File (Ctrl+N)), type your python code on as many lines as you want, and save it with the .py extension. And to run your program, you can select Run > Run Module (F5) in IDLE.
+ 2
I recommend using an IDE, try PyCharm Community Edition it's free! :)
+ 1
Use an IDE, or Integrated Development Environment, like PyCharm or Geany. I prefer Geany for its simplicity.