Menu

When saving changes in PAGE previous coding is deleted from the .py file

Anonymous
2022-09-21
2022-09-24
  • Anonymous

    Anonymous - 2022-09-21

    One huge issue I have with PAGE GUI is the following:
    Let’s say you create a GUI using PAGE and then edit the Python file to add functionality. Fine so far; you run it and everything works just fine. But suppose you decide to add some new widgets or rearrange the layout. In order to save the GUI changes, you need to save the Python script within PAGE, but when you do this all of the programming changes you made are wiped out so that only the revised GUI framework remains. It is inevitable that somewhere into a project this will arise and you would be tasked with reinserting all of your coding. Even if you cut and paste from a saved version, it could be a daunting task. This is in my opinion, a deal killer. Is there a way around this that I'm missing?

     
  • Greg Walters

    Greg Walters - 2022-09-21

    That's why there are two .py files.
    The GUI.py file is not meant to be changed by hand. The support.py file is the only one that should ever be changed by hand.

    You should do any coding in the support.py file.

    Greg

     
  • Anonymous

    Anonymous - 2022-09-22

    Thanks Greg, much appreciated. I didn't think of that but it makes sense; I'll certainly check it out. Not a deal killer after all!
    -Nelson Sievers

     
  • Greg Walters

    Greg Walters - 2022-09-24

    I'm glad I was able to help.

     
  • Anonymous

    Anonymous - 2022-09-24

    In my haste to dig in and play around I neglected to observe that you've provided an excellent tutorial along with the download. If all else fails, read the instructions! :-) --Thank you again.

     
  • Greg Walters

    Greg Walters - 2022-09-24

    Thank you for the compliment.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.