Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始学习 Python,现在我很迷茫。我想在通过hosting24.com 托管的服务器上运行我的脚本。他们的常见问题解答说他们支持 Python,但我不知道将我的脚本放在哪里运行。
我的根目录中有一个名为 cgi-bin 的文件夹,我猜那是我放置脚本的地方?有人可以向我解释这是如何工作的吗?
非常简单,您可以将 Python 脚本重命名为“pythonscript.cgi”。将其发布到您的 cgi-bin 目录中,添加适当的权限并浏览到它。
这是一个很好的链接,你可以开始。
这是另一个很好的。
希望有帮助。
编辑(09/12/2015):第二个链接早已被删除。将其替换为提供原始信息引用的信息。