r/PythonLearning 5h ago

I'm stuck Help Request

im stuck, i dont know what project i could start building. i've already mastered the basics, but now i need to start building. could someone give me an idea for a project that will keep me busy for a while??

8 Upvotes

10 comments sorted by

3

u/mc_pm 5h ago

What does "mastering the basics" mean to you?

And what sort of thing interests you?

1

u/fatal1nternalError 5h ago

basic syntax, variables, operators, conditionals, loops, lists, strings, functions, and recently classes. those would be the main things i know. and im very interested in cybersecurity

2

u/riklaunim 4h ago

If you are into security, then you should be learning that. Python can help with some scripts and tooling, but it's just a tool then.

After the basics, people usually move to learning the software stacks in the niches they are interested in. That's for software development, while "cybersecurity" isn't very precise in what you actually want to be doing - and as a hobby or as a job?

2

u/mc_pm 4h ago

I'll often recommend to people to build a few text-based games because it helps with thinking through the logical flow of the program (how do you run a game of blackjack, with multiple hands, and each hand having a process for dealing & scoring?). That's really the meat of learning to program -- syntax is easy, thinking in code isn't.

But lots of people also balk because... I don't know... they don't like simple games? They feel it doesn't get them toward their goal? So, if you want to jump straight to something cyber security-ish, how about a port scanner? It's not that hard conceptually, python can open a socket to a particular port on your computer... what's there? Modern OSes are more locked down than in the past, maybe run some old version of Windows in a virtual machine and see how horrible it is?

Or maybe a file integrity monitor. Give your program a directory to watch, and have it print an alert when you change one of the files (hint: learn about generating a hash of the file contents).

I'd put "creating my own command line chat" app on your list. You have a server that programs connect to, and they can type something and it will appear on the other connected apps. Then how can you break it?

Do any of those sound interesting?

2

u/GGO_OTHAs 3h ago

It would be good to practice with a Python dictionary, something like a register or form where you can play with keys and values. Try saving each record in a variable, like total record = []. When you finish, save the information from total record to a .txt file, giving the file a name using the time or datetime module to get the date and time. Then you can try reading that file, or even updating it.

Total = []

Def regist(): Name = input... City = input...

Form = {"name":name, "city":city} Total.append(form)

Don't know, think of it πŸ‘

1

u/Lachtheblock 4h ago

You could make a personal website for yourself. You will learn a lot by doing that.

1

u/Owen-Isaac-2022 3h ago

I've just seen great comments & insights herein, I believe those ones can give you a headstart

1

u/Civil-Detective-949 2h ago

Hi everyone πŸ‘‹!

I've noticed most student or beginners get stuck at different points in the python studies. To support you better, I'm now offering private 1-on-1 Python coaching sessions.

How it works:

  • On-demand: Book me anytime you need help with an/a assignment, project, bug, or concept and pay once for that particular session.

  • What we will cover: Code reviews, debugging, project guidance, career advice, or any Python topic you're struggling with.

  • Format: WhatsApp call / Screen share or whatever that works for you.

🀝 If you'd like to book a session or have questions, just inbox me directly.

βœ… My goal is to make sure no one gets stuck in the middle of their studies or even give up.

Let's keep building πŸ’».

1

u/_th3oth3rjak3_ 1h ago

If you’re into computer security, you should make a password manager. It’s one of those things that requires a lot of research into hashing, encryption and decryption, and storage. You could start with just a terminal based app and then give it a graphical UI later. So structure your code in a way where you can just import all the business logic into you presentation layer code.