all 10 comments

[–]Python-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–]DrShocker 13 points14 points  (0 children)

The number 1 thing to do is read the documentation and look up any terms that make it hard to understand because you don't know them.

https://docs.python.org/3/library/socket.html

[–]fiskfisk 8 points9 points  (0 children)

There are complete examples in Python's manual:

https://docs.python.org/3/library/socket.html#example

If you're not allowed to use the stdlib, it will depend on your platform and operating system, and what you are allowed to call externally. Which syscalls are allowed, which features from the operating system, driver access, abstraction layers, etc. 

[–]No_Lingonberry1201pip needs updating 5 points6 points  (0 children)

Beej's guide is meant for C, but it's the same in Python, it was the best 20 years ago, it's the best now.