r/learnpython • u/usernamecreationhell • Sep 13 '20
A reality check on GUIs
Beginners like GUIs, I get it. You get a high sense of accomplishment from it and it's the kind of software that you already know and interact with.
Here is a much needed reality check for those of you who want to write Python professionally:
It is unlikely that you will every be paid to write GUIs in Python
Non-technical users will probably never interact with your code directly. You will be much more likely to write:
backend services
data pipelines
CLIs
library code
code in the realm of optimization, scientific computing, data science, machine learning and probably a lot of other math-heavy domains
But what if I like graphical user interfaces?
Then the web stack is probably where you should start: HTML, CSS and JavaScript (or any serious language that compiles to JavaScript, like TypeScript, ReasonML, etc.). The web stack is not just for web, it's also penetrating desktop and mobile.
Don't worry, you can still use Python in the backend.
But I heard from that one company that develops GUI desktop applications in Python!
Okay.
17
u/28752375983275832 Sep 13 '20
(a) Not everyone learns Python with the aim of getting a job. They might just want to make GUIs for fun, they might want to release applications on their own (self-employed or as a hobby), or join one of the many open source GUI application projects written in Python.
(b) There are a bunch of GUI applications written in Python these days. You're exaggerating.
(c) Maybe they want to write GUIs as a fun way to learn more about Python.
(d) They might want to learn about Qt or Gtk etc to use these later, whether in Python, C or another language. Easier to learn in Python, even if the final applications will be in C. HTML doesn't seem like the best place to start for that.
11
u/snugglyboy SkillLevels.INTERMEDIATE Sep 13 '20
That's weird, because I make PySide2 GUIs for everything I do in the VFX industry. Granted, it's niche to be writing Nuke plugins or whatever, but I think it's ridiculous to write a post like this just because you don't.
3
u/ravepeacefully Sep 13 '20
I get paid to make python GUIs very often so... I mean it’s not the only thing I make, but uhh.. you’re exaggerating and seem like a d bag tbh
1
u/SabinBC Sep 13 '20
I fit the op pretty strongly. Most of my code is for science and lends itself to being too specific with too few users to justify a GUI. That said, GUIs go a long way to making obscure programs available to the larger community, they also have an aura of completeness about them which makes it more competitive.
But for the learners, most GUI frameworks are a masterclass of forced OOP concepts that lends itself towards writing and understanding more code. All while being able to see how components interact. It’s a nice skill to have, even if you’ll use it rarely. Also, just like most coding concepts, the knowledge carries over to different languages pretty well.
-6
u/iiMoe Sep 13 '20
Agreed, i dont think that GUI is rly a career path or like sth that can make u a job material cuz its not sth rly practical as much as the logic and backend
4
u/intentionallyawkward Sep 13 '20
UI/UX design is an entire discipline. To suggest it’s not a career path is patently wrong.
1
u/usernamecreationhell Sep 13 '20
I think that was meant in the context of Python, no reasonable person would deny that UI/UX is a career path
1
u/axw3555 Sep 13 '20
I doubt that any reasonable person would suggest a UI/UX job composed purely of Python is particularly likely either.
But a python job where knowing how to write them is valuable? That seems a lot more common than you're making out from the shape of this thread.
1
u/iiMoe Sep 13 '20
To me, in the Field of python ONLY, i just dont see it as amazing as wut i can do with pandas or Dash, i just see it as a cover to the real logic and programming
5
u/antiproton Sep 13 '20
rly a career path or like sth that can make u a job material cuz its not sth rly
Can you try a little harder to make yourself intelligible?
1
u/iiMoe Sep 13 '20
Building gui is not a job material, its not like when u can do data analysis or machine learning or web dev bcz eventually a gui is just how you present ur app to the end user so its not much of a valuable skill like the logic in the backend
18
u/antiproton Sep 13 '20
This post is counterproductive. You have no idea what people are going to be asked to write. What's more, beginners should be coding everything and anything. If they want to build a GUI that calls a GUI that enhances a GUI that runs a CLI which starts a GUI that then wraps a GUI.... they should.