[Tutor] How to deploy seamless script updates to your "clients"?

Juan C. juan0christian at gmail.com
Fri May 26 17:56:55 EDT 2017


On Thu, May 25, 2017 at 1:01 AM, Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
> a basic idea would be to get a webpage and put your code there. This is
> where you edit your codes
>
> Now you make a program which has
> - an updater
> - the script to execute in a separate file
>
> the updater each times pull the program on the webpage and compare it with
> the script file if they are the same, it does nothing. if not, it moves the
> current script to the "previous scripts" folder and create a new script file
>
> it then executes the script file (see how to execute python from python)
>
> the only thing you'll have to do if you want is some auth if your script is
> super secret

What does a webpage have to do with this, I really can't picture that.


More information about the Tutor mailing list