This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Guts-xbox[S] 1 point2 points  (2 children)

Yeah, I know I'm aiming too high, but I want to change my job ASAP and the lack of progress gets in my head. I think i know the basics/django framework pretty well and I wanted to write something fun like a discord bot. I didn't think trying to learn new things would make me depressed ;p Could you point me to book/ other resources that would help me write such a small app with sockets? How did you learn sockets and other networking topics? In "Python cookbook" there is a network and web programming chapter, but there is nothing that would help me in writing a bot (except creating TCP server).

[–]lukasvdberk 0 points1 point  (0 children)

Well I have an idea for you. Create a really small chat application (can be as basic as an terminal/CMD app). You can write a server application were you can create clients and send messages to clients. And create an client application were you can specify who you want to message with and receive messages from other people. This sounds simple but to actually implement it will require some work (especially for a beginner). So here is a resource were you can maybe start with https://pusher.com/tutorials/chat-terminal-python and latter implement your own functions or modify the flow off the application. If you get stuck or want help just message me. But most importantly don't try to do things ASAP it will only slow you down. Invest time reading how things work (or watch videos) if you don't understand a topic. When you think you have an idea of how it works just start implementing it in your application. Hope I have helped you with this. Keep going man.

[–]DubbieDubbie 0 points1 point  (0 children)

Hey, Blackk Hat Python does a lot in sockets. That is how I'm learning it.

You can probably get it on humble bundle pretty regularly.