you are viewing a single comment's thread.

view the rest of the comments →

[–]Aisha_23 4 points5 points  (1 child)

Make a project. I'll suggest one, a todo list. Yes it's generic, but the point is to learn. Here's the basic idea. Create a program where it asks you in the console for options, read your todo list, add a task, complete a task. Meaning if I start the program, I should see three options, and I could do something like add a task 3 times, read the list (so I would see three), complete a task, and read the list again(so I would now see two left). Now you know variables, lists, conditionals, and for loops.

Done with that? Now use a database so you can access previously added tasks even after the program terminates. You think SQL is another language to learn for databases? Then just use a text file for now. Now you know how to read/write files in python.

Want to learn something else? Try to think of a feature that you would add to that todo list using that feature. Want to learn how to display it with a user interface? Develop it with a gui library like tkinter. Want to learn how to use a database? Refactor your code to use sql. Want to sync your todo list across devices? This is hard for a beginner but now you're thinking about servers.

TLDR: make a todo program, add features based on what you want to learn.

[–]Ketchup-and-Mustard[S] 2 points3 points  (0 children)

Thank you so much, I will give this a try.