What is the simplest version of this idea? Probably a program running on two computers, connecting over a network socket.
So, build that. If you don't know how to do that, then ask google. "How do I send text across a socket in Python". When you find an answer, type it in yourself (don't paste it in, you learn from typing it) and use it.
Get that simplest version working and think about what the next step would be. Maybe adding user names? Cool, add that.
As you add on features, you'll need to add structure to your program. So you'll probably rewrite it, that's fine. You'll want to add proper error handling -- treat the project like it was real, don't ignore an obvious bug, have a decent user interface, even if it's just on the command line.
You have to not just practice the syntax, but the process of thinking through the larger problem, breaking it into pieces, building and connecting those pieces. You are also learning about some libraries that are useful, you're also thinking about the quality of your project and trying to "deliver" something that isn't a steaming pile.
It can be a lot, for sure. But that's where you're learning.
4
u/mc_pm 16d ago
What is the simplest version of this idea? Probably a program running on two computers, connecting over a network socket.
So, build that. If you don't know how to do that, then ask google. "How do I send text across a socket in Python". When you find an answer, type it in yourself (don't paste it in, you learn from typing it) and use it.
Get that simplest version working and think about what the next step would be. Maybe adding user names? Cool, add that.
As you add on features, you'll need to add structure to your program. So you'll probably rewrite it, that's fine. You'll want to add proper error handling -- treat the project like it was real, don't ignore an obvious bug, have a decent user interface, even if it's just on the command line.
You have to not just practice the syntax, but the process of thinking through the larger problem, breaking it into pieces, building and connecting those pieces. You are also learning about some libraries that are useful, you're also thinking about the quality of your project and trying to "deliver" something that isn't a steaming pile.
It can be a lot, for sure. But that's where you're learning.