简体   繁体   English

如何远程更新python脚本

[英]How can I remotely update a python script

How can I update a python script remotely. 如何远程更新python脚本。 I have a program which I would like to share, however it will be frequently updates, therefore I want to be able to remotely update it so that the users do not have to re-install it every day. 我有一个要共享的程序,但是它会经常更新,因此我希望能够远程更新它,这样用户不必每天都重新安装它。 I have already searched StackOverflow for an answer but I did not find anything I could understand. 我已经在StackOverflow上搜索了答案,但是找不到任何我能理解的东西。 Any help will be mentioned in the projects credit! 任何帮助都会在项目信用中提及!

A very good solution would be to build a web app. 一个很好的解决方案是构建一个Web应用程序。 You can use django, bottle or flask for example. 您可以使用django,瓶子或烧瓶。

Your users just connect to your url with a browser. 您的用户只需使用浏览器连接到您的URL。 You are in complete control of the code, and can update whenever you want without any action on their part. 您完全可以控制代码,并且可以随时进行更新,而无需执行任何操作。

They also do not need to install anything in the first place, and browser nowadays provide a lot of flexibility and dynamic content. 他们也不需要一开始就安装任何东西,如今的浏览器提供了很多灵活性和动态内容。

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

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