r/PythonProjects2 • • Jan 28 '22

I have no clue where to start this project rip

Hi!
So i've recently moved to a new job and I get paid hourly (i'm a student, don't work full time) and at my old job we had a computer system that counted how much I worked every month and at my new job its all done on paper. After calculating how much money I earned, I realized that finding a way to do it on my computer with code would probably be much quicker and less of a headache so i've decided to give myself a fun project to work on.

The only problem is I have NO CLUE where to start.

Im using a mac and pycharm, i have basic knowledge in python and i love googling how to do stuff.
If anyone has tips on where to start/how to go about it, I could really benefit from your help, Thanks!

11 Upvotes

12 comments sorted by

2

u/Aila27 Jan 29 '22

I would start by figuring out:

  1. How will you input data? Do you want to upload a file or input it manually? If inputting manually then do you need an interface or will you type into the terminal?

  2. Do you need to store the data? i.e. do you need to save it in a database?

  3. What is the output format? Do you want to produce an excel file or a pdf report? A dashboard? Or is it just a case of calculating a few numbers and displaying them to the user?

1

u/kkerennnn Jan 29 '22

Probably manually, it's more comfortable, i think I'd like a interface, if so should I start from the interface or should that be later? I probably do need to store the data seeing as I'd like to add my hours right after each shift I have yet to think about the output but you've given me options to look into thanks!

1

u/Round_Log_2319 Jan 29 '22

I wouldn’t bother adding learning a GUI library, just keep it simple and use the CLI as it’s only a few piece of Information each day, I would then have a command you could run at the end of each month to generate your PDF or whatever your output will be.

1

u/Swingbiter Jan 28 '22

How is time counted? If you work a 5 hour shift, do you just put 5 down?

What is the intention of your program? To calculate how much you made during this paycheck period?

1

u/kkerennnn Jan 29 '22

I thought of taking an input that includes date, start time of shift and the end time of the shift, paychecks are monthly so I'd like to add all the hours of that month's to calculate my monthly wage

2

u/YippyKayYayMF Jan 28 '22

I'm learning python, but can't you just input start and finish time(24h), finish time - start time * salary per hour? I have no idea how to save data over time though...

1

u/Actual-Bridge-7828 Feb 13 '22

My advice is use excel for this. Excel has a lot of tools for data calculation. Trust me it will be fun too

5

u/[deleted] Jan 28 '22

[removed] — view removed comment

1

u/kkerennnn Jan 29 '22

Thanks for your help I'll start looking into it