Friday 15 May 2015

How to most effectively check for newer versions and auto-update a Python script? -



How to most effectively check for newer versions and auto-update a Python script? -

i have python script install.py on 20 different machines. update script , force download.acme.com after every tested change. before start bigger rollout, what's effective way new version of script check if newer version of exists? scp best way distribute newer versions of software people?

\\ check newer version (ftp? ssh?) download = input("newer version available! download? (y/n)")

if(download == 'y'): scp bob@download.acme.com:~/install.py ~/install.py

python python-3.x

No comments:

Post a Comment