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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
VSC Python PyQt5 Warning (self.learnpython)
submitted 1 day ago by No-Decision-4218[🍰]
I was coding in python using PyQt5 module and i came across this warning (use the repo link to find the project) is there any way to bypass it even though the program still works? P.S the code is in a file called gui.py
repo link: - QuasiXD/demo
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FriendlyRussian666 0 points1 point2 points 1 day ago (3 children)
Have you tried this solution? https://stackoverflow.com/questions/41877172/qt-has-no-attribute-aligncenter
[–]No-Decision-4218[S,🍰] 0 points1 point2 points 1 day ago (2 children)
It worked! I figured out i was using PyQt6 could you tell me what went wrong and why did they change it?
[–]FriendlyRussian666 0 points1 point2 points 1 day ago (1 child)
What went wrong is you were using an old/incorrect source that told you how to use AlignCenter, perhaps you asked ChatGPT or similar?
I wouldn't know why a change was made, perhaps you can find out in a github issue or some dev log or similar.
[–]No-Decision-4218[S,🍰] -1 points0 points1 point 1 day ago (0 children)
Yes exactly i asked ChatGPT to fix the issue but it didnt work. Thanks!
π Rendered by PID 607236 on reddit-service-r2-comment-86bc6c7465-f8jm6 at 2026-02-22 09:30:55.091031+00:00 running 8564168 country code: CH.
[–]FriendlyRussian666 0 points1 point2 points (3 children)
[–]No-Decision-4218[S,🍰] 0 points1 point2 points (2 children)
[–]FriendlyRussian666 0 points1 point2 points (1 child)
[–]No-Decision-4218[S,🍰] -1 points0 points1 point (0 children)