I have googled this and cannot find an answer. I am coming from PHP. In PHP I would write my code in my IDE on my laptop, upload the .php script to my server (VPS), and then execute/run the script through web browser.
I am new to Python. I have written the following code
print("Hello World")
in a file called hello.py.
If I upload the file to my server and access it through google chrome, I get the following:
print("Hello, World!")
Python is installed and the version is Python 3.x In the PHP world I would conclude the server isnt parsing the PHP code. The hello.py file is not in the /bin/ folder on the server which I understand is fine with my Python install.
Any advice please on how I can get the file to run thru browser? Thanks