Python multi-threading platform