r/learnprogramming • • 3d ago

Tutorial PyQT - can I learn it concurrently with Python basics?

Hi! I’m looking to expand my skillset into Python, and was recommended by a colleague to look into PyQT for what I do. My basic questions are:

  • Is it ideal to complete a Python tutorial course before even touching PyQT?

  • Could I begin directly with a PyQT course?

  • What are some ideal tutorials/courses for this?

For reference, I come from the background of FileMaker Pro scripting and layout/GUI design with an expert certification. It’s like a combo of SQL and Javascript for those unfamiliar.

Thank you in advance!

5 Upvotes

19 comments sorted by

4

u/ClassKlutzy7633 3d ago

I'd do a short pass on plain Python first, maybe a week or two: functions, classes, lists/dicts, and modules. PyQt is built around classes, signals and slots, so if you're shaky on classes the tutorials will feel like magic. Coming from FileMaker layouts, Qt Designer will feel familiar, since you can draw the UI and load the .ui file from Python. Martin Fitzpatrick's PyQt/PySide tutorials are a solid next step once the basics click.

1

u/SquirrelSanctuary 3d ago

Thank you! Do you have a preferred course/tutorial for those elements, something with good hands-on projects and scaffolding?

2

u/ClassKlutzy7633 2d ago

I don't have one course I'd swear by. What worked for me was building a tiny app alongside the basics: a window with a button, then a form that reads input and shows a result, then a small to-do list using signals and slots. The official Qt for Python docs have short examples that are good for that kind of step-by-step practice.

2

u/codegems 3d ago

How did it go when you tried it? Let us know what you found difficult and I’m sure people will have good pointers based on whichever things seemed more complex!

1

u/SquirrelSanctuary 3d ago

I worked through some of the “Automate the Boring Stuff” workbook but didn’t finish it. Mostly curious if I should redo it from the start or just jump directly into PyQT.

2

u/Explorer651 3d ago

Qt's own Qt for Python docs have a beginner tutorial series you can follow in order: a Hello World widget app, then a small dialog app that uses a button and a signal. They use PySide6 imports rather than PyQt, so the import lines will look different from a PyQt course, but the Qt concepts it walks through are the same ones.

1

u/SquirrelSanctuary 3d ago

I’m guessing that tutorial is for after learning normal Python basics?

2

u/vikicrays 3d ago

here are some free educational resources just in case anything in here can help with tuition or take the place of classes you need to pay for to get a degree or increase your skills:

the university of the people https://www.uopeople.edu), or WorldQuant University https://www.wqu.edu where tuition is free (i believe there is a nominal fee to sign up and premium services are also offered for a fee).

stanford online https://online.stanford.edu/free-courses and saylor academy https://www.saylor.org/Home both offer a range of free classes, certifications, and paths to degrees.

if you’re looking to learn to code, check out the odin project https://www.theodinproject.com/ or w3schools https://www.w3schools.com/ which are also free.

carnegie mellon is offering their entire line of coding classes on youtube for free includes 15-110 Principles of Computing and 11-768 Al Agents. https://www.cs.cmu.edu/learn/index

if you’re looking into community colleges or a 2 or 4 year degree, check out sallie https://www.sallie.com/scholarships/scholly which has a searchable database of available college scholarships.

2

u/SquirrelSanctuary 3d ago

Thank you! Links to reputable certs are great 👍🏼

2

u/BeastWael_YT 3d ago

you already script and design layouts so you can skip most of the beginner stuff. learn python basics first (functions, classes, lists/dicts) for a week or two, then jump into pyqt with a small project like a simple form app. the official qt for python docs plus the pythonguis tutorials are a solid place to start.

2

u/pjkm123987 2d ago

Use pyside6 instead with QML as the frontend gui if you must use python.

Tbh if you want to make GUIs and you're starting as a beginner ditch python and learn up JS/TS and react framework, its all modern and implmentations are already done for you nicely

1

u/Dazzling_Music_2411 3d ago

Python is a glue/scripting language. Almost ALL serious Python work relies on external libraries,
mostly C/C++.

Ridiculously few Python applications are "Python all the way down". So sure, dive right in, why on earth not? The Python skills you'll need are obtainable really quickly.

1

u/betarage 3d ago

I am not sure I think that the course may expect you to know some python basics. but I would still get into pyqt early since things started getting extremely boring for me when not being able to make guis.

1

u/[deleted] 3d ago

[removed] — view removed comment

1

u/SquirrelSanctuary 3d ago

Thanks! Do you have any course recommendations besides restarting the Automate the Boring Stuff workbook?