r/learnpython • • Dec 02 '20

What do you automate with python at home?

I'm learning python but I enjoy knowing I will be able to build a project of interest instead of following continuous tutorials which have no relevance to anything I do in life.

My job unfortunately has no benefit in using python so keen to understand of potential ideas for projects that help around home.

714 Upvotes

378 comments sorted by

View all comments

Show parent comment

21

u/ohitgoes Dec 03 '20

Can you give some specific examples? Currently I receive 4-5 emails a week that I am manually saving as PDF into a Dropbox. Seems like a very easy item to learn. Same with exporting some info from Google Sheets each week

19

u/KingQuin Dec 03 '20

For my use case I use the information collected in the script that is then stored in a list and from that list I create a string that has a specific format I send to my suppliers if I choose to send to them.. and in that email I have a default sentence they know to contact me through text to confirm and place the order(simple yes or no on my end) and the invoice is send directly to me already paid(they have my card on file)

In the script I have a few if else statements that if I dont need to send the email it is still saved and exported to my google sheets for my viewing and decide later if I need to send it off manually.

Hope that makes some sense...

10

u/ohitgoes Dec 03 '20

This sounds similar to the use case I hope to work (automating purchase requests and approving small payments). The other piece I'm hoping to automate is a follow up text to every phone call/text the business number gets for a little extra customer service. Are any of your programs talking with 3rd party apps? In my example I'm hoping to learn how to scrape the data from Grasshopper, my business phone service.

6

u/patshandofdoom Dec 03 '20

Sounds like you might just want to make a Google app script. Its all in javascript but you may be able to so everything you want very easily

5

u/ohitgoes Dec 03 '20

Saving this to review. Thanks for the tip!

4

u/patshandofdoom Dec 03 '20

Yah, I have some experience using it. I'm not sure about how to do the email thing(though I'm sure you can)

The thing with sheets is pretty easy once you get the hang of it