Jan-09-2019, 07:55 PM
I normally type directly into the interactive interpreter, yes. But that's because I'm normally writing only 4-5 lines at a time, as examples for the forum lol.
For real programs, you should probably be using an editor of some sort, like VisualStudio Code, pycharm, etc, and then just running it from the command line (or within the editor, if the editor supports it). In VS Code, for example, you can run the current python file by hitting F5 (once you install the python plugin).
For real programs, you should probably be using an editor of some sort, like VisualStudio Code, pycharm, etc, and then just running it from the command line (or within the editor, if the editor supports it). In VS Code, for example, you can run the current python file by hitting F5 (once you install the python plugin).