r/pythontips • • Nov 27 '21

Syntax Automatizing Boring Stuff

Hello guys. This is my first post. I am total beginner in Python and coding. But I really want to automatize my work. My work us about to get data from goverment sites, such as degrees, taxes, and all that kind of Stuff. So, I only do ctrl+C and ctrl+V in a spreadsheet, one by one, like a robot. All Day. Can I use python to do this work? I'll realy apreciate every help. Like subjects to investigate or where the f* can I start Sorry for my Bad english

31 Upvotes

8 comments sorted by

26

u/[deleted] Nov 27 '21

Yep. https://automatetheboringstuff.com :) the whole book is on that site. Enjoy.

4

u/Voice-Still Nov 27 '21

Thanks mates!!

5

u/Monguce Nov 27 '21

Second this.

It's a great book and will have you flying through that stuff in no time.

It's really satisfying to see your computer doing even simple stuff that you programmed yourself!

3

u/Bergodrake Nov 27 '21

Awesome book! It was my start in the python journey.

7

u/Dump7 Nov 27 '21

I see theAutomate the Boring Stuff book has already been recommended. So not including that. I would really recommend you to start looking at libraries for automated testing like selenium. And also packages like BeautifulSoup for scraping. Choose one and just start. There are loads of resources available online.

2

u/rgintx Nov 27 '21

If you want to combine python and excel, check out the openpyxl library

1

u/[deleted] Nov 27 '21

You should also look into Excel, VBA and SeleniumBasic if you will be importing that data into Excel. Excel can also put that data into just about any other database.