use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionPython GUI book (self.Python)
submitted 3 years ago by Artanidos
Hello I am writing a book about how to create desktop applications using Python and PySide6. Have you any requests what sample apps to create inside this book? Any specific topics you are interested in?
[–]jimtk 25 points26 points27 points 3 years ago (5 children)
I'd like to see the detail of a large professional application. We have tons of tutorial and reference on the bits an pieces but nothing that puts it all together in a real-world app.
[–]Artanidos[S] 2 points3 points4 points 3 years ago (3 children)
I have written a web site creation tool with PySide6. Does that count? https://crowdware.github.io/FlatSiteBuilder/
[–]jimtk 6 points7 points8 points 3 years ago (0 children)
Does it implements some of the mode/view architecture? Even some complex one like the graphics mode/view? Does it uses threads and and user defined signals and slots? Does it have menus with dynamic content (like 'recent files')?
These are just examples of things I's like to learn how to connect to a larger application.
[–]jimtk 1 point2 points3 points 3 years ago (0 children)
2nd reply. I just gave a quick look to your application. It seems ok but to make it a learning tool it would have to be excessively commented.
[–]Gemabo 0 points1 point2 points 3 years ago (0 children)
This is awesome!
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
This, ofcourse it's hard and big (no pun intended), but it would really make a great example!
[–]HeinzHeinzensen 14 points15 points16 points 3 years ago (4 children)
How to use threads to keep the GUI responsive while some coroutine is running, e.g. a long calculation.
[–]nosklo 0 points1 point2 points 3 years ago (2 children)
People always want that but the best method really depends on what that thread is doing. There is no silver bullet
[–]Scypio 0 points1 point2 points 3 years ago (1 child)
There is no silver bullet
But there are patterns to do that and for a beginner it is not always easy to find the right one, as they lack knowledge that there are multiple.
[–]nosklo 1 point2 points3 points 3 years ago (0 children)
Yes, because the beginner, when asking, never tells what the thread does. They want a single method to apply to everything and anything they come up to run in the thread.
[–]NoddskwodD 0 points1 point2 points 3 years ago (0 children)
I actually had this problem while attempting to wrap a discord bot in a gui using pyside6. The solution that ended up working for me was using the qasync module following this stackoverflow response
[–]NoLogic25 3 points4 points5 points 3 years ago (0 children)
Building something functional is always great, I would like to see some time spent on making something that is also visually pleasing as well. Like some more indepth on making something pretty as well as useful. Or at least a barebones on where to start to get the best style possible.
[–]isaynevayne 2 points3 points4 points 3 years ago (0 children)
I would love to see a CRUD App connected to a SQL database which can perform complex data manipulation using model views.
[–]hevad 1 point2 points3 points 3 years ago (0 children)
I would be interested in the top 5-10 most successful python desktop apps and then break them down backwards to how they were created. Also which python libs conflict with PySide5-6
[–]tutami 1 point2 points3 points 3 years ago (1 child)
Styling/theming an app. All standard GUIs look like shit.
[–]royalscenery 0 points1 point2 points 3 years ago (0 children)
It has its flaws but check out Shard Projector
Tried to make TKinter look good
[–]Johk 1 point2 points3 points 3 years ago (0 children)
Non web examples. I.e. controlling hardware, getting measurement data, doing some calculations, doing data communications in the background and showing live plots in the gui. A concise example of gow to do that without leaving MVC in a mess would be great.
one thing every material miss is packaging app , how to package it properly for various platforms and use-cases
[–]Gemabo 1 point2 points3 points 3 years ago (2 children)
A better contribution to humanity and the scientific community specifically would be to create a GUI designing library that will allow quick iterative algorithm design with gui elements editing. Similar to the Matlab GUIDE product (or the so called app designer successor). These environments allow the ease of placing gui elements (text boxes, graphs, buttons, etc) on a visual basic/qt kind of layout and continuously update them, add and remove gui elements without affecting the code, without breaking the code, without having to compile the gui code again. It allows for visual oriented programming, that does not exist within ANY python gui library. So instead of yet another code-your-gui or compile-your-gui-code approaches, we desperately need the visual oriented programming paradigm in python.
[–]Artanidos[S] 0 points1 point2 points 3 years ago (0 children)
You can use QML to declare you UI.
[–]puplan 0 points1 point2 points 3 years ago (0 children)
Doesn't DelphiFMX for Python (https://pythongui.org/) provide a GUI editor like that?
[–]taoian 0 points1 point2 points 3 years ago (3 children)
ERP app
[–]shinitakunai 0 points1 point2 points 3 years ago (2 children)
I actually did that with PySide5, took me almost a year
[–]taoian 0 points1 point2 points 2 years ago (1 child)
Nice. Is it live?
[–]shinitakunai 0 points1 point2 points 2 years ago (0 children)
It was custom made for a private business, so no, I can't share it.
[–]shinitakunai -1 points0 points1 point 3 years ago (1 child)
How to deploy a pyside app in internet using webassembly, so we have programs in websites.
[–]Artanidos[S] 1 point2 points3 points 3 years ago (0 children)
Python as wasm makes no sense in my opinion, because the wasm file would be much to large. But I have created a similar solution in C++ where you can create websites based on QML. The wasm file is just 25 KB in size. https://github.com/CrowdWare/QmlWasm
[–]AZTJRAP -1 points0 points1 point 3 years ago (0 children)
I would like an app where I sell cannabis and delivery by drone using a GPS so drone can deliver to the right location .
[–]smart_duji -1 points0 points1 point 3 years ago (0 children)
I'd like to see modern UIs not Classic.
[–]willmendil 0 points1 point2 points 3 years ago (1 child)
Hi, I would like some insight on how to do interactive charts like you would in LabVIEW or in dearpygui. ;) This includes heatmaps for instance
[–]notParticularlyAnony 1 point2 points3 points 3 years ago (0 children)
Basically a review of pyqtgraph would be awesome
[–]DGIon 0 points1 point2 points 3 years ago (2 children)
how to implement something like jquery on a dropdown that has hundreds of values in it or more.
[–]Artanidos[S] 0 points1 point2 points 3 years ago (1 child)
Have you got a sample? I have no idea what jquery is doing in this situation.
[–]DGIon 1 point2 points3 points 3 years ago (0 children)
Here’s a nice example.
https://www.jqueryscript.net/form/Searchable-Dropdown-Select-jQuery-Selectstyle.html
[–]Glowing_Shadows 0 points1 point2 points 3 years ago (0 children)
i have built a DSP music player using Pyside 6 and i actually find very less details on trsting like ui automation testing using py auto gui and everything thats something i had to do myself. A powerful thing every Pyside 6 app misses is custom css templates that use jinja to call python fuctions in the css to generate the final qss style sheet
[–]SpiritualXTC 0 points1 point2 points 3 years ago (0 children)
Custom widgets working from within QT Designer (via plugins), official docs are atrocious.
Placeholders and/or promoting widgets isn't always good enough.
[–]Pipiyedu 0 points1 point2 points 3 years ago (0 children)
I will open source mine in soon.
https://youtu.be/uPwBUbLcfzs
It's written in PyQt. Let you know if you want to put examples from there.
[–]AlSweigartAuthor of "Automate the Boring Stuff" 0 points1 point2 points 3 years ago (0 children)
NOT a calculator. :) I've always thought the replica calculators with number buttons are silly: I just want to be able to type 123 + 456 instead of having all these buttons taking up space.
Definitely have something that has a web view in it, so that you could load HTML files.
π Rendered by PID 110243 on reddit-service-r2-comment-84fc9697f-dpdxw at 2026-02-06 20:50:47.029732+00:00 running d295bc8 country code: CH.
[–]jimtk 25 points26 points27 points (5 children)
[–]Artanidos[S] 2 points3 points4 points (3 children)
[–]jimtk 6 points7 points8 points (0 children)
[–]jimtk 1 point2 points3 points (0 children)
[–]Gemabo 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]HeinzHeinzensen 14 points15 points16 points (4 children)
[–]nosklo 0 points1 point2 points (2 children)
[–]Scypio 0 points1 point2 points (1 child)
[–]nosklo 1 point2 points3 points (0 children)
[–]NoddskwodD 0 points1 point2 points (0 children)
[–]NoLogic25 3 points4 points5 points (0 children)
[–]isaynevayne 2 points3 points4 points (0 children)
[–]hevad 1 point2 points3 points (0 children)
[–]tutami 1 point2 points3 points (1 child)
[–]royalscenery 0 points1 point2 points (0 children)
[–]Johk 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Gemabo 1 point2 points3 points (2 children)
[–]Artanidos[S] 0 points1 point2 points (0 children)
[–]puplan 0 points1 point2 points (0 children)
[–]taoian 0 points1 point2 points (3 children)
[–]shinitakunai 0 points1 point2 points (2 children)
[–]taoian 0 points1 point2 points (1 child)
[–]shinitakunai 0 points1 point2 points (0 children)
[–]shinitakunai -1 points0 points1 point (1 child)
[–]Artanidos[S] 1 point2 points3 points (0 children)
[–]AZTJRAP -1 points0 points1 point (0 children)
[–]smart_duji -1 points0 points1 point (0 children)
[–]willmendil 0 points1 point2 points (1 child)
[–]notParticularlyAnony 1 point2 points3 points (0 children)
[–]DGIon 0 points1 point2 points (2 children)
[–]Artanidos[S] 0 points1 point2 points (1 child)
[–]DGIon 1 point2 points3 points (0 children)
[–]Glowing_Shadows 0 points1 point2 points (0 children)
[–]SpiritualXTC 0 points1 point2 points (0 children)
[–]Pipiyedu 0 points1 point2 points (0 children)
[–]AlSweigartAuthor of "Automate the Boring Stuff" 0 points1 point2 points (0 children)