r/learnpython 19h ago

Repositories to kickstart Python Automation

Hi. Anyone who can share any repositories online or resources that I can learn python? I have a background on it (predictive analysis in OR) but I'm more interesting on applying in automating my tasks at work.

17 Upvotes

13 comments sorted by

4

u/sitefall 18h ago

Automate the boring stuff still a good resource today, and it's free.

2

u/Kaiser_Steve 9h ago

Gem! Thank's a lot!

1

u/Low_Junket_6997 18h ago

THANK YOU VERY MUCH!!

1

u/sitefall 15h ago

Np, I am surprised it wasn't mentioned already. It is THE book for "actually using python to do stuff".

2

u/alfonso_texada 19h ago

What exactly you want to automate?

2

u/[deleted] 18h ago

[removed] — view removed comment

1

u/Low_Junket_6997 18h ago

Nice! I'll definitely start thus. Thank you so much! Would you be able to share learning sources?

2

u/Low_Junket_6997 18h ago

repetitive tasks that are: extracting data from different sources, quality checking different documents, uploading multiple and different data into specific entries. I'd like insights if it's possible with python

1

u/alfonso_texada 18h ago

Source is a very broad concept, are we talking about documents or websites? Exactly thought about entries

1

u/Low_Junket_6997 18h ago

yes correct websites and a system. but to be more specific an erp system. Do you have experience integrating with these?

2

u/alfonso_texada 18h ago edited 18h ago

I worked as RPA engineer on my previous job.Websites require parsing, which is done using the API and libraries like requests and httpx. If the site does not have an API or is equipped with security systems, than you need to switch for Playwright maybe curl-cffi.

2

u/OppositeFisherman506 12h ago

I’d focus on small scripts instead of huge automation projects.

1

u/StudyEasyOrg 17h ago

For the document-extraction + QC part specifically (as opposed to general scripting), the pattern that clicked for me was: extraction library gets the raw data out, then you validate it against a schema separately rather than trying to do both in one pass. For PDFs, pdfplumber or PyPDF2 for text/tables; for structured files, openpyxl or pandas. Once you've got the data as plain Python objects/dicts, run it through a validation step (pydantic is great for this — define what a "correct" entry looks like, and it'll tell you exactly which fields are missing or wrong type) before it goes anywhere near your destination system. Keeping extraction and validation as separate steps made debugging way easier when something inevitably came through malformed.