简体   繁体   中英

Python “Hello World” on 1 & 1 server for my web domain

-create a python file (.py) that I will upload to the folder on the on the server (I have 1 & 1's "unlimited" package) that is dedicated to myDomain.com -follow a link on the internet to myDomain.com -see the "Hello World" of the Python file

Zed Shaw has not taught us to do this, and this info doesn't work --> http://docs.python.org/2/howto/webservers.html

I have already located the correct location of the python installation on the server, and included the correct information in the first line. and have also confirmed via SSH that the code actually works. The one thing I can't do...and nobody explains this explicitly, is how I correctly get hello world up on my browser from the internet.

If I read the instructions correctly, it is another person who will upload to a web server (and most probably test) your Python program. Note the "that I will upload" in the first line. I'm sure the pronoun " I " refers to the author of the instructions and not you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM