Welcome to this tutorial about PySimpleGUI 2020 – a simple and easy-to-use Python library for creating graphical user interfaces. In this tutorial, we will provide a comprehensive overview of PySimpleGUI through a whiteboard video.
PySimpleGUI is a Python GUI framework that aims to make creating GUIs as simple and straightforward as possible. It provides a high-level API that allows users to create interactive and visually appealing GUIs with minimal code. PySimpleGUI offers a wide range of widgets and layout options, making it suitable for a variety of applications, from simple scripts to more complex desktop applications.
To get started with PySimpleGUI, you can install it using the following pip command:
pip install PySimpleGUI
Once you have PySimpleGUI installed, you can start creating your first GUI application. PySimpleGUI provides a wide range of pre-built layouts and widgets that you can use to design your interface. Some of the most commonly used widgets include buttons, input fields, sliders, checkboxes, and text elements.
To create a simple GUI using PySimpleGUI, you first need to import the library and define your layout. You can then create a window object using the layout you defined and interact with the widgets using event-driven programming.
In the whiteboard video overview, we will walk you through the basic concepts of PySimpleGUI, including:
- Setting up PySimpleGUI and creating your first window
- Adding widgets to your window, such as buttons and input fields
- Handling events and user interactions
- Customizing the appearance of your GUI with themes and styles
- Creating more complex layouts using custom elements and containers
- Deploying your PySimpleGUI application on different platforms
By the end of this tutorial, you should have a good understanding of how PySimpleGUI works and be able to create your own GUI applications with ease. Whether you are a beginner looking to get started with GUI programming in Python or an experienced developer looking for a simple and efficient way to create user interfaces, PySimpleGUI is a great choice.
We hope you find this whiteboard video overview of PySimpleGUI helpful and informative. If you have any questions or need further assistance, feel free to reach out to the PySimpleGUI community for support. Happy coding!
sg means?
Just amazing. Thank you so much for your hard work !!!
'if you want to see if a window is closed, the event that's returned is none ?
output to what location ?
The third line of code is missing the closing square bracket:
[sg.Text('Our output will go here', size=(30, 1), k='-OUT-'),
Awesome!!!!! thank you!!! 👌👍💙💚
i know its old but u forgot a ) in the code on the second link after layout u never put it in so its just ('Our output', Which makes the code unable to run
Content Stolen from an other video lol
GooYyy?? Isn't it G U I.
thank you
Cool
It should be more than obvious that the narrator is not "me". The other PySimpleGUI videos were not made with this style of animation nor the voice talent. I literally couldn't live with myself if I sounded THAT up and happy all the time. I'm a lot more chill.
Thanks for share.
Sorry, but didn't like the video style at all. The fake moving hand is distracting and adding nothing to the subject presented
我想知道有没有中文版的语音,谢谢!
Mike, thanks so much for this exciting GUI. We also could call it PySuperGUI…
can u plz help me with this
import pysimplegui
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pysimplegui
ModuleNotFoundError: No module named 'pysimplegui'
Mike we gotta get more views on this library, it's simply amazing!!!!
I love it so much
Do you have any solution for identical event names? Like "Ok" and "Cancel" are two most popular buttons in any GUI. How to handle them in different layouts? I mean when I say "if event == 'Ok'" which "Ok" event is PySimpleGUI looking at? Or am I missing something?
Easiest and modern looking gui library in Python. Theme options are amazing
Will it be new series with PySimpleGUI or just the introduction for previous PySimpleGUI 2020 videos? It has fantastic quality