PySimpleGUI

@PySimpleGUI (12)
Other package installs using tkinter version
posted to Ask by PySimpleGUI

@a5rocks
Great idea!
I added a requirements.txt, as there wasn't one in the tkinter version, and I still get the same error. Here's the replit that's having the trouble:
https://repl.it/@PySimpleGUI/Balls-tkinter

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@AppliDev Really? Dude, why did you answer?

How can I force a clean pip install of a package? (Solved)
posted to Ask by PySimpleGUI

F1 didn't bring up anything for me but Chrome's help.

I just figured out how to run pip by calling os.system()

I was able to call this using the Python shell prompt in my repl.it window:

os.system('pip uninstall PySimpleGUIWeb')

Thanks to everyone that replied so QUICKLY!

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@ash15khng Can you help out by voting on the bug that was filed so that it gets some attention from Repl.it?
https://repl.it/bugs/p/python-automatic-package-installs-intermittently-failing

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@HarperframeInc Aware of PyPI and how it works. Since it's happening to you as well and have an interest in getting it fixed, you can help that process by voting on this bug report:
https://repl.it/bugs/p/python-automatic-package-installs-intermittently-failing

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@ash15khng Sometimes. Sometimes it does it automatically, sometimes you must manually install which creates the requirements.txt file. A project either does it or it doesn't. I've not been able to "fix" one that's broken.

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@PaoloAmoroso
Thanks very much for the link to file a bug. I filed one. I didn't realize they're voted on:.... so feel free to vote people!

https://repl.it/bugs/p/python-automatic-package-installs-intermittently-failing

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@AppliDev

I thought that just finished that work. Also thought it's a behind the scenes thing that's built-into the backend that does a better job of package management versus something you have to add or turn on.

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@PaoloAmoroso Right, same import as you would on the desktop. Some of my programs here use the web version some use the tkinter version.

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@Masy
Is that a known workaround? These are projects I created not someone else's. It seems odd to fork my own project.

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@ash15khng
That's what I don't want to do. Repl.it should be automatically install the latest release.... it's a feature that's broken.

Why does automatic installation of packages sometimes fail?
posted to Ask by PySimpleGUI

@AppliDev
That's what it felt like. It's SUPER frustrating for it to be intermittent like it is.
What's the timeframe for the fix? I had it happen again just now on a brand new program I started.

Python Button - PLEASE HELP
posted to Ask by CodeCenter

Here's code like you asked for.... click the text instead of a button. When clicked, you'll see the click detected printed on the console

https://repl.it/@PySimpleGUI/Click-Text-Instead-of-Button

You can also run this code in a web page instead of tkinter by changing the import statement at the top to:
import PySimpleGUIWeb as sg

Here's a repl of the code with this change made:
https://repl.it/@PySimpleGUI/Click-Text-Instead-of-Button-Web-Version

Python Button - PLEASE HELP
posted to Ask by CodeCenter

@TheDrone7 The version of PySimpleGUI that works with repl.it that is not tkinter based is called PySimpleGUIWeb. It utilizes Remi as the underlying framework

PySimpleGUI Adds Support For Repl.it
posted to Announcements by amasad

@amasad You can try this program
https://repl.it/@PySimpleGUI/timerpy
to see the difference in the setting. I was unable to change the behavior now that I've tried again.

The setting to modify is on line 14:
web_multiple_instance=False

This changes the Remi multiple_instance setting which someone suggested as a fix to a problem. I find regardless of the setting, if I open 2 repl.it copies, in 2 different browsers, they sync up and show identical things. When one pauses, so does the other.

PySimpleGUI Adds Support For Repl.it
posted to Announcements by amasad

@amasad

I've added an option to the Window call in PySimpleGUI to turn on / off the multi-instance option. I tried setting it to ON as a default and it REALLY struggled on repl.it.
So, in version 0.15.0, I turned it back off again, but left the option for others to turn it on.

How can I force a clean pip install of a package? (Solved)
posted to Ask by PySimpleGUI

The way I can tell it's 0.5.0 that's loaded is that it crashes showing this line of code in the traceback:

remi.start(self.MyApp, title=self.Title ,debug=False, address='0.0.0.0', port=Window.port_number, start_browser=True, update_interval=.00001, userdata=(self,))

In 0.6.0 the parameter port=0