+ 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?
2 Antworten
+ 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
+ 3
good i never knew