r/learnpython • u/diabolical_diarrhea • Mar 10 '23
I finally did something useful
Recently I automated something at work that probably saved me 10+ hours of repetitive work. I even had a coworker remark on how quickly I finished the project. It was extremely satisfying. I just wanted to post this, as a bit of a brag maybe, but also as encouragement to anyone who is struggling with learning right now. It can be really frustrating to learn python and find use for it, but there are times when it is extremely gratifying. Don't give up!
29
Mar 10 '23
I wrote a program a month ago and put it on our company network, along with instructinos for how to use it. I've been using it for my own purposes and it's been working great; but I heard nothing from the rest of the group until yesterday. My boss had to spend a few minutes fiddling with it, but he was able to figure it out and save himself an hour of work. He called me up to gush about how great it was, how it was worth all the development time already. Feels good man.
10
u/diabolical_diarrhea Mar 10 '23
Congrats! My script is far too shitty to share, lol.
4
u/Xzenor Mar 10 '23
Then it could use some improvement. Keep tweaking. Make it reusable and unbreakable if there's ever a change in the input data :)
2
10
u/HwyRngr Mar 10 '23
I’m in the process of creating a program that has drop folder, grabs the kml out of the drop folder, removes all the useless data, converts the data to an ArcGIS feature layer, adds that feature to the existing feature and fills out the relevant fields, then pushes the new feature layer to our dashboard. Been annoying to crest but almost done with it
3
1
u/kidcanada0 Mar 11 '23
That’s pretty cool. If you don’t mind, I’d appreciate seeing your code when you’re done. Mostly just curious about automating the publishing of data to ArcGIS online, dashboards etc.
2
u/HwyRngr Mar 11 '23
Of course. Once I test it and ensure everything runs smooth I’ll se it over your way
1
2
u/lemalaisedumoment Mar 11 '23
I once spent ten hours of work to automate a 5 hour work task. 100% worth it.
1
u/diabolical_diarrhea Mar 12 '23
Lol, absolutely. I do this too. I guess this was the first time I actually saved time.
225
u/outnumbered_int Mar 10 '23
congrats! now the trick is to automate 95 percent of your job, DO NOT TELL ANYONE YOU HAVE DO THIS EVEN IF IT IS SO SATISFYING, switch to wfh and enjoy life
18
u/Crypt0Nihilist Mar 10 '23
Depends. If it's a one-off task, then raise it with the boss to highlight how you found a more efficient and accurate way to do it than a manual grind. The "reward" is probably going to be more of the same kind of problem, which isn't bad if you're trying to build skills and avoid grunt work.
If it's a frequent process, do keep it to yourself and invest the time in yourself. Best not slack off because it's hard to get discipline back once you've lost it. Keep working, but switch the focus from things which def benefit your company and might benefit you to the other way around.
1
u/outnumbered_int Mar 13 '23
u dont slack off, you spend more time learning higher level coding, basically get paid to study, and ur technically doing the job ur getting paid for, so everyone wins, then u can pick and choose what u automate at work as opposed to being asked to do the job of 6 more ppl while they get fired trust me from personal xp
4
u/virtualworker Mar 11 '23 edited Mar 11 '23
There are several famous Reddit stories on this theme , including one where a programmer automated his WhatsApp responses to his girlfriend.
I gotta go search now ... If I find, I'll be back.
https://www.reddit.com/r/antiwork/comments/s2igq9/i_automated_my_job_over_a_year_ago_and_havent/
https://www.reddit.com/r/antiwork/comments/p3wvdy/i_automated_the_vast_majority_of_both_my_job_and/
And the girlfriend chatbot one: https://www.reddit.com/r/ProgrammerHumor/comments/u96heo/boyfriend/
0
Mar 10 '23
[deleted]
5
Mar 10 '23
Where do you work though?
0
Mar 11 '23
[deleted]
7
u/UGotKatoyed Mar 11 '23
The fact that this can be, in 2023, a large part of your job is shocking. But good for you obviously. Nice one ! :)
82
u/hotcodist Mar 10 '23
Do not tell anyone at work. It is tempting but all you will get is --maybe-- a pat in the back from the boss, but no promotion or bonus for the efficiency gain. Just enjoy the time savings and relaxing time at work. Then quietly do more work and tell the boss you did the other things in addition to your workload, because you want to help the unit accomplish more. That's a surer way towards a promotion.
27
u/RCThomas Mar 10 '23
Just got to be cautious that with all the extra duties you take on, that you don't become too valuable to promote.
All the times I've done this exact formula at previous jobs, I never got a promotion. I was just told to take on less tasks instead of promotion / raises / hiring someone else to backfill your role upon your new promotion. YMMV.
3
u/nuaz Mar 10 '23
Watch out with telling them you did more, then pile on more outside of your job description without the reason to pay you for it.
4
u/TheRNGuy Mar 10 '23
show a code
2
u/diabolical_diarrhea Mar 10 '23
Maybe I can show something not work related, but I would have to re write it.
6
u/CMsofEther Mar 10 '23
I even had a coworker remark on how quickly I finished the project.
Keep the secret sauce to yourself.
The reward for good work is more work.
6
4
u/ShatBrax Mar 10 '23
I’ve written a few tools and scripts for myself but one I have hosted for my team to use which just disabled the selected client and their sub accounts and then can enable them too. I got tired of doing this manually as some have 25+ and wrote the tool, turns out the team LOVES it and on the off chance the VM goes down they freak out a little bit. I love hearing that people are using the things I create.
1
3
3
u/AnarchoDesign Mar 11 '23
Yeah, for all the people who want fast and magical results this will be good to know.
Congratulations, and I hope you can get more satisfactions to come.
49
u/Ok_Paramedic7837 Mar 10 '23
Great job! What’s the process you automated?