Python

Installing PyCrypto/Paramiko for Python3 x64 Windows

Paramiko is a great Python library for SSH but it can be a hassle to install in Windows. In this situation, I am using Windows 10 64-bit and Python 3.4.3. Paramiko is available on Pip which helps but it is not the smoothest installation.

First, I run in to an issue with the PyCrypto dependency that it tries to install:

Unit Testing TCP Server & Client with Python

Unit testing a TCP server and client can be tricky at first. Let me share what I've come up with for unit testing them. I will not provide full test class code just invidual test methods. If you don't know how to use unittest with Python and get your tests running refer to the unittest documentation. GameServer.Server and GameClient.Client are the classes that are being tested and which should be implemented elsewhere.