Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Installing PySimpleGUI

Here are resources and additional documentation about Tkinter and virtual environments:

00:00 Getting Started With PySimpleGUI. PySimpleGUI was launched in 2018, so it’s a relatively new package compared to the likes of wxPython or PyQt. PySimpleGUI has four ports.

00:15 Tkinter, PyQt, wxPython, and Remi.

00:23 PySimpleGUI wraps portions of each of these other packages and makes them easier to use. However, each of the ports has to be installed separately. PySimpleGUI wraps the entirety of Tkinter, which comes with Python. It’s wrapped most of PySide2, but only a small portion of wxPython.

00:44 When you install PySimpleGUI, you get the Tkinter variant by default, and that’s what will be covered in this course.

00:52 For more information about Tkinter, check out Python GUI Programming With Tkinter. Depending on which variant of PySimpleGUI you use, applications that you create with PySimpleGUI may not look native to their platform.

01:07 But don’t let this stop you from giving PySimpleGUI a try. PySimpleGUI is still quite powerful and can get most things done with a little work.

01:18 Installing PySimpleGUI. Installing the library is easy if you use pip. For the purposes of this tutorial, you’ll learn how to install the regular PySimpleGUI port, which is a Tkinter variant. Here you can see it being installed onscreen.

01:37 This command will install PySimpleGUI to the Python environment you’re currently running. In my case, I’ve created a virtual environment, which allows more scope for experimentation with new packages without making permanent changes to your system Python installation.

01:53 If you’re unfamiliar with Python virtual environments, then you should read Python Virtual Environments: A Primer. If you prefer to try the PyQt variant, then you can use pip install pysimpleguiqt instead.

02:08 Now that you have PySimpleGUI installed, it’s time to find out how to use it.

Become a Member to join the conversation.