-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pypy support #23
Comments
This might be related. I'm running Python 3.7 in Windows 10. I'm trying to create and write into a debug window using the code provided in the docs. However, the debug window will not remain open when the print loop finished. If I run this code from Idle in a .py file, the debug window remains open, but when I run it from a Windows commant prompt, or from PyCharm, or from Sublime Text, the debug window quickly opens, runs, and closes.
|
is there anything after the last print? You need a Popup or some other window to stay open in order for the debug to remain. There are problems with these non-blocking windows are the only thing remaining. You need to stay in the tkinter loop somehow and the best way is to print a sg.Popup at the end of your program.
|
Thanks, Mike:
Adding a Popup was exactly what I did. I thought there was either a bug, or
I was doing something wrong.
Thanks for the help. I am just learning Python, and I need some UI, and I
really like your tools.
…On Wed, Sep 5, 2018 at 3:48 PM, MikeTheWatchGuy ***@***.***> wrote:
is there anything after the last print?
You need a Popup or some other window to stay open in order for the debug
to remain.
There are problems with these non-blocking windows are the only thing
remaining. You need to stay in the tkinter loop somehow and the best way is
to print a sg.Popup at the end of your program.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGKiYjeLj4BrEkH96VGDnomElWRHBMJzks5uYDihgaJpZM4VtGHj>
.
|
I haven't used the debug print very much, so let me know how it goes :-) Just be aware that when multiple windows are open closing one of them can potentially affect others. If you have any problems just speak up. I fixed a big in this code that was causing the pypy issue. I'm closing out the bug |
The current version of PySimpleGUI is 2.7 and works with pypy3 !
There seems to be an issue with Non-blocking forms and the debug window. Something closes the debug window when it shouldn't.
Look into better pypy support.
The text was updated successfully, but these errors were encountered: