write an update manager in python/wxPython

gagsl-py at yahoo.com.ar gagsl-py at yahoo.com.ar
Thu Dec 7 18:19:01 EST 2006


On 7 dic, 19:04, Will McGugan <w... at willNOmcguganSPAM.com> wrote:
> m.err... at gmail.com wrote:
> > I have a small application for which I would like to write an update
> > manager. I assume that the basics of it is to compare versions of the
> > user's current application and a new one store in a new file on a
> > particular URL.
> Dont think there is a standard way of doing it. The way I have done it
> in my applications is to keep an ini file containing the version number,
>   which is downloaded and compared against the version of the app. That
> part is trivial to implement in python with urllib. I just point the
> user at the download url when there is a new version. It would require a
> little more effort if you want to have some kind of automatic update...

There is a sample script (in tools/versioncheck in your Python
directory) you could use as a starting point. Not a big deal...

-- 
Gabriel Genellina




More information about the Python-list mailing list