Python Network Programming [ID:791]

Demonstrations of how to write Python programs that communicate using TCP/IP. Some videos will demonstrate using the sockets module while others will make use of Python modules that implement application layer protocols for us. Some application layer protocols to explore include HTTP with HTML and XML - (if you call those protocols), XML-RPC, SMTP with MIME and SSL. We will also touch on strategies such as asynchronous and multi-threaded programming for dealing with multiple connections at the same time.

Video Tutorials

This video demonstrates the usage of a multi-threaded chat server and associated client. This video shows how they are both started and used and discusses some chat application layer control (protocol) messages, which the client might be to send to the server.
A suggestion is made for a short programming project to add an additional feature to the server. This assignment is actually pretty simpl [...]

In this video I review the source code for the multi-party graphical chat client. This a multi-threaded wxPython program.
I show how to when to use the wx.CallAfter() function, which is called by a different thread than the wxPython graphics thread to generate a wxPython event and send an optional message to alert the graphical program of some external event.
A sub-class of threading.Thread is u [...]

This video uses the example of a multi-party chat server to demonstrate how to write a multi-threaded network server in Python using sockets.
Topics discussed include:
Multi-threaded and asynchronous programming.
Setting up a socket to accept new
connections.
Creating and managing threads.
Sending and receiving data using a socket.
Synchronization and locking to implement a
readers and writers [...]

This video demonstrated how you can use the Fakemail e-mail server for testing purposes while developing a program that sends e-mail messages.
Fakemail was written by Graham Ashton and the project's home page is hosted on Source Forge.
In addition, the video also shows the use of Python's email.MIMEText module to build a simple message and shows sending the message with sockets according to the S [...]

3 votes

Showmedo is a peer-produced video-tutorials and screencasts site for free
and open-source software (FOSS)- with the exception of some club
videos, the large majority are free to watch and download.

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education
and documentation are relatively neglected in the Open-source
world. Coders love to code, and explaining how best to use or
improve the software tends to be deferred or even
sidelined.

At Showmedo we believe the community can play a vital role
here and also say thanks for the tools and software that make
our lives easier. If you have a piece of software you love or a
programming langugage you are enthusiastic about, why not make
a screencast showing others how to use it? All the stuff you
wish you'd been told, the tips, tricks, insights that would
have saved you time and frustration.

Screencasting is easier than you think, and we're happy to
help you. You can
emailus for
advice or just use some of the how-to screencasts on the site.
This
screencasting learning-pathis a
good place to start.

CLUB SHOWMEDO

Are you learning Python? To keep the site running clean and ad-free we've started Club ShowMeDo. The club will allow you access to some special videos we're making to pass on programming skills we consider important to the development and enjoyment of Free Open Source Software (FOSS).

The focus at the moment is on developing with the Python programming language, one of the backbones of the FOSS movement with a huge number of included and third-party libraries.

THANKS

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.