PySimpleGUI Adds Support For Repl.it
amasad (1495)

PySimpleGUI, the simplest cross-platform Python GUI framework just added support for Repl.it (web in general) and it's the simplest way I've seen UI being done on Repl.it yet.

It has good autocompletion and it's well-documented. It's especially great for new coders that want to try their hands at coding GUI.

To get started simply import the library, create a window, and give it a layout! Here is a name reading app and repl:

import PySimpleGUIWeb as sg

window = sg.Window('hello world').Layout([
  [sg.Text('hello world')],
  [sg.InputText('enter name')],
  [sg.Submit(), sg.Cancel()]
])

[button, [name]] = window.Read()

if button == 'Submit':
  print('Hello ' + name)

https://repl.it/@amasad/PySimpleGUI

You are viewing a single comment. View All
PaoloAmoroso (85)

I've looked into PySimpleGUI a bit more and I love it. The library is simple to use but provides lots of features for more advanced needs, the documentation is excellent, and the developer is active and enthusiastic.

REMI, the foundation of PySimpleGUIWeb, is amazing too. I hope it soon adds more advanced PySimpleGUI features such as the elements required for supporting Matplotlib, which is already accessble from PySimpleGUI.

Huge thanks to MikeB, the REMI folks, and Repl.It. It's mind-blowing what can be done in the cloud.