If you are new to Python, you can learn the fundamentals via a set of online video courses:
Content created by the CSE 224 TAs:
An overview of sockets and layering:
- Van Steen, Ch. 2 (esp section 2.1)
Official Python documentation:
Other resources:
- Geeks4Geeks Python tutorial (short)
- RealPython guide (long)
- Note that only about the top 30% of this guide are relevant for this class, though you are of course free to read the entire document