#python fundamentals (2) — saving Python programs as files
▻https://hackernoon.com/python-fundamentals-2-saving-python-programs-as-files-a7932d4dfe85?sourc
Python fundamentals (2) — saving Python programs as filesIDLE has a mode in which the user can write multiple lines of code, save them in a file, and execute them whenever he/she chooses. This is, well, pretty handy if you are #programming:Here you can see that I am in a New File (right window)- and that the executed code is running in the left window. Quirk of Python — writing 17 + 9 and 67–14 is absolutely fine; it returns no error message. However it does not display in the shell (also known as the console*) — you need to actually issue Python with a print command in order to see the results of the calculation. So Python will obediently hold onto the results of calculations — possibly storing them in variables or as arrays or something — but will steadfastly keep hold of them until you issue a (...)