简体   繁体   English

适用于我的网络域的1和1服务器上的Python“ Hello World”

[英]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 -创建一个python文件(.py),该文件将上传到服务器上的文件夹(我有1和1的“无限”包),该文件专用于myDomain.com-在互联网上单击指向myDomain.com的链接-请参阅Python文件的“ Hello World”

Zed Shaw has not taught us to do this, and this info doesn't work --> http://docs.python.org/2/howto/webservers.html Zed Shaw没有教我们这样做,并且此信息不起作用-> 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. 我已经在服务器上找到了python安装的正确位置,并在第一行中包含了正确的信息。 and have also confirmed via SSH that the code actually works. 并且还通过SSH确认了该代码确实有效。 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. 如果我正确阅读了说明,则将由另一个人将您的Python程序上载到Web服务器(并且很可能会进行测试)。 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. 我确信代词“ I ”是指指令的作者,而不是您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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