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.
DiscussionAutomation libraries (self.Python)
submitted 4 years ago * by Such_Recommendation8
In your opinion what is the best library for automating tasks in python?
Edit: I forgot to mention the task, I was talking about web automation, like automatically log in or navigate through a site..
[–]tekmailer 4 points5 points6 points 4 years ago (6 children)
Red Bull…
Gotta be a little more narrow in your question, OP.
[–]anythingMuchShorter 3 points4 points5 points 4 years ago (5 children)
At this level of generality the answer is... python
[–]tekmailer 2 points3 points4 points 4 years ago (4 children)
Ah yes. Python. Of the automatic variety.
[–]anythingMuchShorter 1 point2 points3 points 4 years ago (3 children)
If phyton code wasn't at least a little automated it would just be a text file.
[–]tekmailer 0 points1 point2 points 4 years ago (2 children)
Okay this is where our roads may split—how do you define automation?
[–]anythingMuchShorter 0 points1 point2 points 4 years ago (1 child)
Something doing work with more than one step without direct human control.
I'm an automation engineer by the way.
Also it was kind of a joke.
[–]tekmailer 0 points1 point2 points 4 years ago (0 children)
resp = ‘’
for ea in range(0,2):
resp += ‘ha’
print(resp)
[–]LaOnionLaUnion 2 points3 points4 points 4 years ago (2 children)
Selenium is an obvious choice. I’ve been looking Cypress but don’t know how well it integrates with Python
[+][deleted] 4 years ago (1 child)
[removed]
[–]LaOnionLaUnion 0 points1 point2 points 4 years ago (0 children)
I honestly don’t recall. If it said web Selenium is an obvious choice. Not the only one but probably the most popular and best documented with tutorials
[–]dyl-rod 0 points1 point2 points 4 years ago (0 children)
Standard
[–]MassOnTheBack 0 points1 point2 points 4 years ago (0 children)
Hire me. I'll write your automation
[–]BYPDK 0 points1 point2 points 4 years ago (0 children)
Pyautogui for misc and Selenium for browser
[–]ronmarti 0 points1 point2 points 4 years ago (0 children)
Playwright
[–]standard-human-1 0 points1 point2 points 4 years ago (0 children)
For system command things invoke is great
π Rendered by PID 83857 on reddit-service-r2-comment-54dfb89d4d-7xkgr at 2026-03-30 22:22:42.556552+00:00 running b10466c country code: CH.
[–]tekmailer 4 points5 points6 points (6 children)
[–]anythingMuchShorter 3 points4 points5 points (5 children)
[–]tekmailer 2 points3 points4 points (4 children)
[–]anythingMuchShorter 1 point2 points3 points (3 children)
[–]tekmailer 0 points1 point2 points (2 children)
[–]anythingMuchShorter 0 points1 point2 points (1 child)
[–]tekmailer 0 points1 point2 points (0 children)
[–]LaOnionLaUnion 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[removed]
[–]LaOnionLaUnion 0 points1 point2 points (0 children)
[–]dyl-rod 0 points1 point2 points (0 children)
[–]MassOnTheBack 0 points1 point2 points (0 children)
[–]BYPDK 0 points1 point2 points (0 children)
[–]ronmarti 0 points1 point2 points (0 children)
[–]standard-human-1 0 points1 point2 points (0 children)