Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/x/s/xsbs-HEAD/src/pyscripts/MapRotation/maprotation.py   xsbs(Download)
	else:
		sbserver.setMap(map, sbserver.gameMode())
	if sbserver.numClients() == 0:
		rotate_on_join[0] = True
		sbserver.setPaused(True)

src/x/s/xsbs-HEAD/src/pyscripts/JSONAPI/api.py   xsbs(Download)
	def render_JSON(self, request):
		return json.dumps({
			'num_clients': sbserver.numClients()
			})