- 1

How I can run java or paython code

Pleeeeez! How I can run java or paython code

22nd Apr 2022, 12:24 PM
Ali Amer
Ali Amer - avatar
2 Answers
+ 1
For python, just install the latest version online from the python website, and then code into a file with the extension .py After that just execute the file in any way, whether it be via a text editor such as VS code, or just go to the directory that contains the file in your terminal, and execute it by putting python before the name of the file, so let’s say I have a file called hi.py: python hi.py To execute. For java follow the exact same steps, but download java, the extension is .java and to execute you do javac file (with extension) then java file (witohut extension)
22nd Apr 2022, 12:42 PM
Kamil Hamid
Kamil Hamid - avatar
+ 1
Install Java or Python and double click on the .jar File (for Java) .py/.pyc File(for Python)
22nd Apr 2022, 12:43 PM
Stefanoo
Stefanoo - avatar