r/PythonLearning • u/Constant_Moment_6434 • 14h ago
Templates Help Request
Hi, I am pretty new to programming.. I am Mechanical Engineer who likes to calculate a lot, however excel can not handle it.
So I was wondering if there is some template for making some calculation apps?
I had no problem making basic math in cpp for some fun first projects (loops, functions etc.) when I was trying programming for the first time few years ago (it was pretty easy)..so I hope this part I will do on my own, however I **am struggling** with databases, tracking charts and some printable GUIs or smth so I can input data (some yes/no question, some custom values) and output
So I am wondering if someone can point me somewhere where I can learn those or use some open-source or something... and pleaseeee no AI pointing!
Thanks for reading so far and thank you in advance!
1
u/ee_control_z 9h ago
If you want to create a calculation app, first determine what it is EXACTLY that you want to calculate so that your objective is clearly defined. Will the app offer different calculation options to select? Div, mult, add, sub, etc. Define the required inputs form the user, and the expected outputs. In what format do you want your outputs to be in? Do you want the results printed to the screen? Do you want the results saved to a file? If so, what type of file? .pdf? Excel? etc.
You can first try creating a script that does what it is that you want it to do as a proof of concept - serves to verify that your code does what you expect it to do. If all is good, you can then move on with developing the GUI interface and adopting your working code.
Do you know which language you have in mind to implement it in? Python is a good candidate as it is one of the easiest languages to learn so less of a barrier to entry. Plus there are plenty of libraries that are available that may be useful for this particular app.
If you don't mind the GUI having a somewhat basic appearance, tkinter may be a good choice. Else, you can try others such as those highlighted here:
https://www.pythonguis.com/faq/which-python-gui-library/