r/learnpython • • Nov 19 '19

My first application!

In October I started my Python-journey, with a full time job and a 2yo kid the spare time is scarce.
I've been following a Udemy-course and also used some android-apps to just study something every day.
2 weeks ago I made my first real script from scratch, I had a idea of automating / helping with a tedious task at work. I'm a train driver, and every train we start we fill a paper form, check some values from 2 different paper lists and enter some of that data into the control computer.

The script were terminal based and did all the calculations I wanted, checked up the values from those 2 lists (one which is short, so I just made an elseif of it, the other is long so I made a .txt with the values) and gave a summarized result.

Now 2 weeks later I've deployed it on the web with Flask to be able to share with my colleges!
With dropdowns, forms to fill and a button to run the scripts and show the result.

Thanks to inspiration from this subreddit (and others) I made it working! It's plain ugly, but the functionality is there. Guess I'll come back and sort the design with bootstrap or at least some css'ing next time I feel a dip in the studying.

I dno if there's a better way to post a image, but here's one:
Image of the result with explanations

407 Upvotes

72 comments sorted by

View all comments

1

u/[deleted] Nov 19 '19

I'm completely new to programming. I have no idea. Would you recommend the course that you have taken? Because I really want to learn programming. How well the basics are taught in this course?

1

u/Mag37 Nov 19 '19

I'm completely new too, thou I've dipped my toes now and then for hobby projects, both in web and minor scripting. But never really grasped basics or learnt to create anything. I think this course is really good for getting started, getting a feel for the language and the different fields it can operate in! Give it a go if you find it cheap on Udemy, there's sales all the time!

My biggest tip thou, no matter how you try to learn, don't just code along, copying the screen/book. Try changing some bits, see what happens, personalize it, give it a different result.

1

u/[deleted] Nov 19 '19

I really want the basics. Like all the basic stuff. Once I learn the basics I will look after this course. Thanks!

1

u/Mag37 Nov 19 '19

He covers the basics quite well and the course is set for people with no prior knowledge. I found it for like 9$ or less when it was a sale.

2

u/[deleted] Nov 20 '19

Sure. Thanks!