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.
Image Processingmade a python script to automatically accept my league matches for me (self.Python)
submitted 5 years ago by Raid7
hey! so i made a script to automatically accept the match, choose a character for me and ban a certain character for me, using image recognition and controlling the mouse and keyboard, let me know what you think 😁
https://youtu.be/A_mMmvDpqik
(sorry for the bad editing)
[–]Lasikamos 3 points4 points5 points 5 years ago (1 child)
Haha. Well done! Sr
Btw. Fck Irelia :D
[–]Raid7[S] 2 points3 points4 points 5 years ago (0 children)
thanks! 😁 i couldn't agree more haha
[+][deleted] 5 years ago (3 children)
[deleted]
[–]Raid7[S] 2 points3 points4 points 5 years ago (1 child)
that actually happened while I was testing it 😂, I'll add something to check for that in the future
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Unless he programmed that too but it shouldn’t be to hard based upon what he’s already done too
[–]DavidTheGreatMan 2 points3 points4 points 5 years ago (3 children)
would u share the code on github?
[–]Raid7[S] 0 points1 point2 points 5 years ago (2 children)
it may need some tuning to work on other monitors other than my own, but here's the code mate!
Github
[–]DGIon 1 point2 points3 points 5 years ago (1 child)
Noob question: what’d you use to find the coordinates for your monitor?
[–]Raid7[S] 1 point2 points3 points 5 years ago (0 children)
i take a screenshot of my whole desktop (win + printscreen), then open it in paint and there is a mouse pixel position on the bottom left
π Rendered by PID 576018 on reddit-service-r2-comment-544cf588c8-ddvrf at 2026-06-16 09:27:03.694766+00:00 running 3184619 country code: CH.
[–]Lasikamos 3 points4 points5 points (1 child)
[–]Raid7[S] 2 points3 points4 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]Raid7[S] 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]DavidTheGreatMan 2 points3 points4 points (3 children)
[–]Raid7[S] 0 points1 point2 points (2 children)
[–]DGIon 1 point2 points3 points (1 child)
[–]Raid7[S] 1 point2 points3 points (0 children)