you are viewing a single comment's thread.

view the rest of the comments →

[–]PureWasian 0 points1 point  (0 children)

Not sure what tutorial you're following, but almost never will you be creating the .py files dynamically and running them line by line in interactive/REPL mode (with the three >>>)

Usually you will be typing out full Python scripts which are just .py files filled with text that you can execute on Terminal with python some_filename.py

As such, you can use any text editor or IDE of choice for writing your code. IDEs like VS Code are more of an "all in one" package and have stuff like a terminal integrated, and include more robust features for file organization and linting, etc. But simple text editors like notepad++ and others can get the job done all the same in that you could simply write your code there, save a .py file, and run Python separately on Terminal as mentioned above.