Skip to content

Calling a Tornado handler in another handler

I want to split a Tornado handler in two handlers. In the first handler, I want send a command to a sensor. In the second handler, I want to wait for a response from the sensor. Is this possible? Or I can’t call an handler from another? If it’s possible, how I can call this second handler? Thank y…

An easy to understand Web2Py training guide

I am seeking an easy to understand, free, user friendly web2py training resource, that takes the time to introduce each concept and how to use each new object in as much English as possible (and in as little technical jargon as possible). I want a resource that will leave me comfortable and confident to innov…

Parsing JSON array into class instance objects?

I’m trying to parse some data in Python I have some JSON: If I wanted to parse the “metros” array into and array of Python class Metro objects, how would I setup the class? I was thinking: So I want to go through each metro and put the data into a corresponding Metro object and place that ob…