Python Forum
How can you update a python application across multiple devices?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can you update a python application across multiple devices?
#1
I am making multiple applications that I want to update over time. Instead of forcing my users to redownload from a file hosting website or (if I set it up) my own website.

I am using tkinter as a GUI, so I could just have a "Check for updates" button. But I want to discuss the code necessary to make this happen.

I would be using cx_Freeze to compile my program, which probably makes it harder to do it.

So here is an example of what I want.
I would have a folder (let's call it update.py). From this file, I will select another file/group of files and this will be the "update". update.py will then send some sort of message to cause the main application (main.py) to run a subprogram which reinstalls the program (this means it will delete the files, then reinstall them).

An alternative thing that I could do is have another update.py on the clients end, this will run and do the same as what the subprogram would do in main.py.

The first test I would probably do is just updating a file that replaces a
print("Hello World")
to a
print("Hello Update")
, or something similar.
Reply


Messages In This Thread
How can you update a python application across multiple devices? - by GalaxyCoyote - Apr-01-2020, 02:52 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020