filmov
tv
Create an advanced GUI app with PySimpleGUI (Full Tutorial)
ะะพะบะฐะทะฐัั ะพะฟะธัะฐะฝะธะต
๐๐๐ฆ๐๐ฅ๐๐ฃ๐ง๐๐ข๐ก
โโโโโโโโโโโโโโโโโโโโโโโโโโ
In this tutorial, I'm going to walk you through the process of creating a GUI app with Python. I'll show you how to create an advanced Graphical User Interface complete with buttons, input boxes, user settings and a custom menu bar. I'll start with a simple GUI app that has just two buttons. Then, we'll create a more advanced GUI app to retrieve and save user settings. Finally, we will implement a custom menu bar and convert our code into a standalone executable file.
In the final application, you can convert a selected Excel sheet into a CSV file. Additionally, you could specify the separator & decimal value for the CSV file.
๐ ๐๐๐ก๐๐ฆ:
To display all available themes, run the following code:
import PySimpleGUI as sg
โญ ๐ง๐๐ ๐๐ฆ๐ง๐๐ ๐ฃ๐ฆ:
00:00 โ Intro
00:50 โ Basic example
04:22 โ Add file types to the browse button
05:16 โ Convert the Excel file to CSV
08:58 โ Display the content of the Excel file
10:39 โ Validate file paths
12:29 โ Implement the settings function
16:38 โ Create the settings window
19:55 โ Add a custom menu bar
22:43 โ Adjust the styling and clean up the code
24:39 โ Bonus: Convert the GUI to an executable file
27:00 โ Outro
๐ง๐ข๐ข๐๐ฆ ๐๐ก๐ ๐ฅ๐๐ฆ๐ข๐จ๐ฅ๐๐๐ฆ
โโโโโโโโโโโโโโโโโโโโโโโโโโ
๐๐ข๐ก๐ก๐๐๐ง ๐ช๐๐ง๐ ๐ ๐
โโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ?
If you want to support this channel, you can buy me a coffee here:
ะะพะผะผะตะฝัะฐัะธะธ