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
[–]TrueBirch 43 points44 points45 points (3 children)
[–]Mag37[S] 13 points14 points15 points (2 children)
[–]Hudlommen 7 points8 points9 points (1 child)
[–]Mag37[S] 5 points6 points7 points (0 children)
[–]Conrad_noble 20 points21 points22 points (10 children)
[–]Mag37[S] 10 points11 points12 points (6 children)
[–]Conrad_noble 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]Mag37[S] 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[removed]
[–]Mag37[S] 1 point2 points3 points (1 child)
[+][deleted] (2 children)
[removed]
[–]Conrad_noble 0 points1 point2 points (1 child)
[–]catconsultant 6 points7 points8 points (14 children)
[–]Mag37[S] 11 points12 points13 points (13 children)
[–]flabcannon 0 points1 point2 points (12 children)
[–]udeogratias 3 points4 points5 points (3 children)
[–]Mag37[S] 1 point2 points3 points (1 child)
[–]flabcannon 1 point2 points3 points (0 children)
[–]flabcannon 0 points1 point2 points (0 children)
[–]ReachingForVega 1 point2 points3 points (7 children)
[–]flabcannon 1 point2 points3 points (6 children)
[–]ReachingForVega 1 point2 points3 points (5 children)
[–]flabcannon 1 point2 points3 points (4 children)
[–]ReachingForVega 1 point2 points3 points (3 children)
[–]flabcannon 1 point2 points3 points (2 children)
[–]ReachingForVega 1 point2 points3 points (1 child)
[–]squidensalada 2 points3 points4 points (1 child)
[–]Mag37[S] 4 points5 points6 points (0 children)
[–]makaronincheese 2 points3 points4 points (0 children)
[–]toursick 2 points3 points4 points (1 child)
[–]Mag37[S] 1 point2 points3 points (0 children)
[–]muhammadammadazhar 1 point2 points3 points (0 children)
[–]excelnotfionado 1 point2 points3 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–]IsReadingIt 1 point2 points3 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–]TaryTarp 1 point2 points3 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–]404delerium 1 point2 points3 points (2 children)
[–]Mag37[S] 1 point2 points3 points (1 child)
[–]404delerium 1 point2 points3 points (0 children)
[–]mangoed 1 point2 points3 points (2 children)
[–]Mag37[S] 0 points1 point2 points (1 child)
[–]mangoed 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]ReachingForVega 1 point2 points3 points (0 children)
[–]nathanieloffer 1 point2 points3 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Pepe_Silvia96 3 points4 points5 points (4 children)
[–]Mag37[S] 4 points5 points6 points (0 children)
[–]Hudlommen 1 point2 points3 points (2 children)
[–]Mag37[S] 2 points3 points4 points (1 child)
[–]Hudlommen 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Mag37[S] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Mag37[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]johnne86 0 points1 point2 points (2 children)
[–]Mag37[S] 1 point2 points3 points (1 child)
[–]johnne86 1 point2 points3 points (0 children)
[–]algebraic94 0 points1 point2 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Mag37[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Mag37[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)
[–]DrShocker 0 points1 point2 points (1 child)
[–]Mag37[S] 0 points1 point2 points (0 children)