I am pretty new to coding in python. I want to make a first "big" project in hopes of learning by doing. I want to make a programm to track my training (I play tennis). I want to have a user interface to enter data, store it in a date bank and use it to calculate statistics to look at. But because I am really new to coding I dont know how I should start this project. Can someone help me?
#๐ Idea for a Data Programm
39 messages ยท Page 1 of 1 (latest)
@pseudo sparrow
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
Are you familiar with some frontend frameworks?
not really. I really want to learn by doing
Then start with learning Flask/FastAPI and some frontend tools (HTML+CSS+JS if you want, or you can work with some python libraries as well)...
Try to build a frontend at first... It'll be a good stepping stone
Oh you mean that... I already know how to use html + css to an extend. If that is enough to do my project... then I already know this ๐
Depending on how you want to do that, you don't even need some frontend/backend
If you are new and want to learn some python, I think tkinter would be enough
I suggest practicing the basics with simple exercises, following courses or using resources online to learn before starting with a big project
I already have a few basics of python. I though a project like this would get me motivated and in a dirrecion. A programming language is sooo big.... the hard basics I already know but I want to smth interesting so it keeps me motivated
I just dont know what to start with after learning the basics so I wanted to do this programm
That's cool, Then go ahead with learning about http requests, and Flask... Understand how json works, how to read and dump in json (or maybe sqlite)...
What would I need that for?
To store your daily workout data
Flask - for reading every input from fronted, and sqlite for storing the inputs
Alright ill look into that. Thanks a lot
SQL yes could be useful, but html and flask... depends if you want to access your data from multiple devices or if you are fine with a simple offline "software"
I am fine with a simple offline software... what does that change in my project
Then you don't need to build any of HTML+CSS+Flask.... You can go with simple python
Yeah it is easier, at least for a first project
You could still improve it later
So you'll likely need SQL, and pandas or numpy and a way to store data (either local json files or csv, depending what type of data)
Matplotlib for plotting
But you might have done something like taking inputs and doing some stuff with it... This will be nothing different, just an extra storing and reading step
And tkinter should be enough for a first project, it is the GUI
You can take inputs with buttons and text entries
So ill need tkinter for the GUI, sql for the data storage and pandas for the data analysis. Is that all?
And matplotlib to visualize your data with the help of graphs
And that's all!
Alright sounds like a project ๐ thank you all
Looks like a solid base yes
Yeah, good luck
I think that is likely going to happen ๐
We'll help, no worries
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.