Python setuptools entry points

This is a quick tutorial on how to use Python setup tools entry points to elegantly distribute command line scripts as part of your program, and to enable your code to discover and use plugins in a principled fashion. Installing scripts Say your program supplies a python script dothis.py. If you have been using distutils, …

Advertisements

The Felix problem

Say you have a multiplayer game where there is no central server. You need to indicate to a pair of players if they are within a certain distance from each other, but you can't let any of the players know the actual positions of any other players. Could you do it? I was driving us …