Where it runs
PySimpleGUI Anywhere runs a PySimpleGUI program inside a web browser. Nothing is installed: Python itself runs in the page, and the program you were sent a link to opens like any other web page.
This page says which browsers can do that, and what a program can and cannot use there.
Which browser
| Device | Needs | |
|---|---|---|
| Windows PC | Chrome or Edge 137 or newer. Firefox 153 or newer. | tried: Chrome |
| Android phone or tablet | Chrome 137 or newer. | tried: a phone, a tablet |
| iPad | iPadOS 27 or newer. Any browser - on an iPad they all use Safari's engine, so it is the system that must be new enough. | tried: iPadOS 27.2 |
| iPhone | iOS 27 or newer, as for the iPad. | should - not tried |
| Mac | Chrome or Edge 137 or newer, or Safari 27 or newer (macOS 27). | should - not tried |
| Linux, Chromebook | Chrome 137 or newer, Firefox 153 or newer. | should - not tried |
A browser that is too old is told so by the page, with what to update. The reason for these versions: the page has to put a running Python program to sleep while it waits for you (a browser feature called JSPI), and these are the first versions that can.
What a program can use
| PySimpleGUI | Windows, pop-ups, the usual elements, tabs, tables, trees, Graph drawing, pictures, right-click menus, matplotlib figures. A few rare parts of tkinter are missing; when a program asked for one, the page lists it under Details after the program has ended. | yes |
| Python | Python 3.14. Packages that are plain Python are fetched from PyPI when the program imports them; so are the ones that have been built for browsers (numpy, Pillow, matplotlib, pandas and more). | yes |
| Other packages | A package with compiled parts that nobody has built for browsers, or one that needs Windows itself (pywin32, psutil). | no |
| Threads | They are imitated: threading, queue, time.sleep and thread pools work, but only one piece of the program runs at a
time. A long calculation holds the window up while it lasts. | imitated |
| The internet | urllib.request.urlopen works, for web sites that let a web page read them (many public data services do).
requests, sockets and anything that opens its own connection do not. | in part |
| Files | The program has a folder of its own (see "What is kept"). It cannot see the files and folders of your device. A file or folder you drop on its window is copied in for it. A file-open or save dialog answers "nothing chosen". | its own only |
| Other programs | Starting another program (subprocess), the Windows registry, the system tray (accepted, but nothing shows). | no |
| Clipboard | Copy and paste inside the program's own text boxes work as in any web page. The program itself cannot read or fill your device's clipboard. | in part |
Screen, touch and hardware
| Mouse and keyboard | As on a PC. | yes |
| Touch | A tap is a click. A finger held still is the right mouse button (it opens the right-click menu). A drag is a drag. | yes |
| The whole screen | The small square button at the page's left edge hides the browser's bars (on a phone or tablet the first tap does it). A program that maximizes its window fills the page. On a phone or tablet a program is shown as large as the screen allows, its shape kept; the second button at the left edge switches that for the program, on any device, and the browser remembers it. | yes |
| MIDI in | A program that listens with mido hears a piano or keyboard plugged into the device - in Chrome and Edge (tried on Windows and
Android; a Mac should do the same). Not on an iPad or iPhone, and not in Safari: they have no MIDI for web pages. | Chrome, Edge |
| MIDI out | A program that sends with mido plays a piano or instrument plugged into the device - in Chrome and Edge; the browser
asks you first. Tried with a stand-in instrument, not yet with a real one. Not on an iPad or iPhone, and not in Safari. | Chrome, Edge |
| Sound | A program that plays notes with mido can pick the output This device (piano sound): the page plays them itself,
through the device's speaker - no instrument needed. It needs no MIDI, so an iPad or iPhone should have it too (not tried there yet). Playing a sound
file: not yet. | notes: yes |
| Camera, microphone, GPS, USB and Bluetooth devices, printers | Not available to a program. | no |
What is kept on your device
- A program started from this page's own buttons and links, or from a file of your device, has a folder of its own in this browser. What it writes there - its settings - is there again the next time. A weather program remembers its town.
- It is kept per device, per browser and per address: a phone and a PC each remember their own.
- It is gone when you clear this site's data in the browser. After a program has ended, "Forget what it saved here" starts it without it.
- A program run from an address somebody gave you (a GitHub address behind the
?) keeps nothing. - It is not a place for secrets: any program run on this page could read what another one saved here. Do not type a password or a key into a program on this page unless you would also write it on a postcard.
Sending somebody a program
- A link is all it takes. The person who gets it needs a browser from the table above - nothing else.
- Your program lives on GitHub: put this page's address and a
?in front of the address of its.pyfile. The start page shows the exact text to put in front. - The owner of this page can also put programs here under short names, like
/weather. - Whoever opens a link to somebody's program is asked once before it runs, and can look at its text first.
Is it safe?
A program runs inside this page, in your browser - like any web page's own script. It cannot reach your files, your other programs or other web sites' sign-ins. It can use the internet as a web page can, and it can read what other programs kept on this page. Run programs from people you trust.
PySimpleGUI Anywhere runs the real PySimpleGUI on a stand-in for tkinter that draws in the page; Python for browsers is Pyodide.