server setup to Python