r/learnpython • • May 04 '20

I wrote my first useful Python program!

For the first time in my life, I wrote a Python program from scratch to automate my work. My boss gave me the task of copy/pasting all the fields from a long online application form to a word doc and I wrote a code to do that in 5 minutes. It shaved off at least 40 minutes from my workload. It might not seem like much, but I'm over the moon :)

Edit 1: Thank you all for your kind words. Being part of this community has helped me immensely. I’m truly grateful to have found it.

For those who asked for the code, here it goes - https://github.com/abhisu30/OnlineFormExtraction

Edit 2: For those who asked, no I didn’t use my work computer. My boss asked me to email her the word file with the form fields so I executed this code on my home computer and emailed it to her.

857 Upvotes

115 comments sorted by

View all comments

Show parent comments

62

u/thomakamaru May 04 '20

I believe in the long run, telling your boss about that program will actually help you and your company.

Why should anyone fill out these forms manually, if an already implemented and tested solution exists.

Additionally, he will consult you if he ever has tedious, monotonous work again. Just make sure he knows that writing the program takes some time as well. You will learn something and your given tasks will shift more and more to interesting things.

0

u/[deleted] May 04 '20

[deleted]

13

u/Castlewood57 May 04 '20

Absolutely agree. Some seem to relish in employees being buried in work, and the look of dispair on everyone's face. While they plan their next golf outing..

6

u/JBTheCameraGuy May 04 '20

True, but intelligent companies know not to waste talented employees on menial work, or drive them to a competitor with poor treatment

5

u/Takarov May 04 '20

That may be true in some circumstances, but we're in an economic downturn and walking into a historically terrible crash. The freedom to go to another competitor where you can experience better treatment may not be there as reliably as people would imagine in ordinary times.

→ More replies (4)

1

u/Svekzo May 04 '20

yeah it should work for small companies for sure.

→ More replies (1)

0

u/[deleted] May 04 '20

[deleted]

14

u/kite_height May 04 '20

"Sorry I don't know how to fix printers. Don't we usually call the service guy?"

25

u/chaoticneutral May 04 '20

I'm running into this problem right now.

I'm a statistical programmer meaning mostly high level scripting (SAS, R, SQL, and some python scripting), I get pulled into a meeting with two senior managers and they proceed to tell me how I need to develop an app (that will change the industry!!!) for them in C++ and were shocked... SHOCKED to find out that I couldn't do it without a significant effort.

They were thinking I could do it in a 1-2 hours every week in my spare time.

From their reaction, they didn't believe me and told me to talk to the senior statistician to make sure I was understanding what I was refusing to do and the opportunity I was missing by not helping.

The statistician has my back and thought it was equally absurd, but I'm sure right now they are double checking with other programmers because they don't trust my answer.

13

u/kite_height May 04 '20

I feel this so much. Somebody always has a "world changing app idea" but is surprise surprise never willing to pay the $250k in developer salaries and $25k/month in services that are needed to even get the prototype running...

11

u/chaoticneutral May 04 '20

The dumbest part of this whole thing is it is ACTUALLY a good idea.... they just need to pay someone to develop it instead of skimming hours of their salaried employees.

3

u/DreadPiratesRobert May 04 '20 edited Aug 10 '20

Doxxing suxs

7

u/EdwardWarren May 04 '20

That got me suspended for insubordination and eventually fired. I did programming for people on the side. My boss, a woman with permanent PMS, hires someone to do just that sort of thing then comes in an asks me to help accounting out by writing a small program for them. I asked her if she didn't just hire a guy to do that sort of thing. She didn't say a word, turned and (probably) ran to HR where she wrote me up for insubordination. I was suspended with pay for 3-4 months and then fired. I was 1 year away from retirement after 20 years with the company. My reviews were always close to perfect for twenty years.

My lawyer got me rehired and I was suspended for about 9 months more with pay and was paid what they called severance and allowed to retire. I needed 21 years service for full retirement. Funny thing was that I never told her I wouldn't help accounting. I was just joking around. She was fired 6 months later and her boss was transferred to the company's equivalent of Outer Mongolia about 9 months later and never heard from again I understand. Our company newsletter had a Retirees Section and I sent a picture of me at the wheel of the nice RV I bought with the severance money along with a story of all the wonderful places we had been to since retiring. I imagine what my boss thought of that.

0

u/[deleted] May 04 '20

[deleted]

3

u/kite_height May 04 '20

Sure but you must have a real shitty boss for that to be his reaction...

0

u/[deleted] May 04 '20

[deleted]

2

u/kite_height May 04 '20

Nice. I really hope nobodies boss is that thick headed.

Work for yourself? That's the dream

0

u/[deleted] May 04 '20

[deleted]

2

u/kite_height May 04 '20

Wow awesome. You're waaay ahead of the curve. Keep it up and you'll be going places for sure.

A lot of software developers/engineers end up jumping around a lot so you don't necessarily have to pick a specialization but it sounds like you already know that.

You have your own website or portfolio or anything like that yet? That's a great way to establish yourself and start getting work as a freelancer.

0

u/[deleted] May 04 '20

[deleted]

→ More replies (0)

7

u/tobiathonandon May 04 '20

Yeah I agree with this. Letting your boss know you have skills such as coding will make you more valuable. It can also broaden your job/career at said company. Keep in mind that your employer may either want to keep you closer knowing you have these skills, or get rid of you, frightened that you’re competition for him/her. If it’s the latter, there are better jobs out there.

3

u/the_battousai89 lifelong beginner May 04 '20

This is true. But only OP will know whether it’s the right move to let the boss know.

4

u/[deleted] May 04 '20

It really depends on the boss and the company. Some might honestly re-deploy OP on more meaningful automation work or even get them training. Others might distrust the program and obsess over whether it's accurate, saying OP is the gatekeeper and must oversee each line. Still others might say, develop the program further so we can get rid of OPs coworker who did it as directed for years but would make the manager look great by laying off.

There are scores of people and companies in the latter two examples. OP should probably get his Github ready and maybe even have an offer ready before sharing any of this in case things go bad.

I might sound paranoid, but I created a very simple automation and it cost two people their jobs. And one drank herself to death shortly after.

→ More replies (7)