Create an advanced GUI app with PySimpleGUI (Full Tutorial)

Coding Is Fun
Coding Is Fun
78.4 هزار بار بازدید - 2 سال پیش - 👉 Explore All My Excel
👉 Explore All My Excel Solutions: https://pythonandvba.com/solutions

𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
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.

🌍 𝗟𝗜𝗡𝗞𝗦:
▶ Source Code: https://github.com/Sven-Bo/advanced-g...
▶ PySimpleGUI Documentation: https://www.pysimplegui.org/en/latest/

To display all available themes, run the following code:
import PySimpleGUI as sg
sg.preview_all_look_and_feel_themes()

⭐ 𝗧𝗜𝗠𝗘𝗦𝗧𝗔𝗠𝗣𝗦:
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


𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🆓【𝗙𝗥𝗘𝗘】Excel Add-in (𝗠𝘆𝗧𝗼𝗼𝗹𝗕𝗲𝗹𝘁): https://pythonandvba.com/mytoolbelt
📊 Data Visualization Excel Add-In (𝗚𝗿𝗮𝗳𝗹𝘆): https://pythonandvba.com/grafly
🤪 Fun Emoji Excel Add-In (𝗘𝗺𝗼𝗷𝗶𝗳𝘆): https://pythonandvba.com/emojify
📑 Excel Templates: https://pythonandvba.com/go/excel-tem...
🎓 My Courses: https://pythonandvba.com/go/courses
📚 Books, Tools, and More: https://pythonandvba.com/resources


𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🔗 LinkedIn: LinkedIn: sven-bosau
📸 Instagram: Instagram: codingisfun_official
💻 GitHub: https://github.com/Sven-Bo
💬 Discord: https://pythonandvba.com/discord
📬 Contact: https://pythonandvba.com/contact


☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲?
If you want to support this channel, you can buy me a coffee here:
https://pythonandvba.com/coffee-donation
2 سال پیش در تاریخ 1401/04/26 منتشر شده است.
78,490 بـار بازدید شده
... بیشتر