+ 2

How to run program?

My code is all good now has all the proper lettering so its not mixed between caps and lower case and the code is proper but i am still un aware how to leave a gap between 2 codes without pressing "Tab" till i reache a new line. But once thats done how do i select the code and run it?

15th Sep 2016, 3:19 AM
FrostByte
FrostByte - avatar
2 Réponses
+ 4
Write the code in any program like notepad (text editor) Save it, let's say you want to call it 'myprogram', as myprogram.py Go in the cmd (the bash) Digit this: python myprogram.py Ps: right click on the folder where the program is and choose start command line from here, then digit the code above If you use linux right click in the dir where you saved the file and choose open terminal here and then write python myprogam.py
15th Sep 2016, 4:52 AM
Giovanni Gatto
Giovanni Gatto - avatar
+ 3
good i never knew
29th Dec 2016, 2:51 PM
Enoch Ewusi Hagan
Enoch Ewusi Hagan - avatar