[Tutor] Python WATable & DB

Alan Gauld alan.gauld at yahoo.co.uk
Mon Jul 11 10:32:43 EDT 2016

On 11/07/16 10:18, nitin chandra wrote:

> Any body got experience in WATable + passing data from DB to JS / json
> ... and if it is stretching it a bit .. has done it with python.

Given that WATable is a (very impressive) JQuery table it's really
pretty far off topic for this group(core Python language and library).
You are far more likely to get responses on a JS/JQuery forum.

I notice the WATable web site has a comment board, they can
probably advise on the best sites to ask stuff.

As for using one from Python, that's going to be in the web server
domain and the json module in the standard library should be
helpful, so if you have specific questions about json then feel
free to ask more here.

> Also, how do I pass link of employee images/photos.

Assuming you have a json data structure containing employee
data I'd expect there to be a link to an image file in there. Then when
you want to display that it's just a matter of creating an <img...> tag
somewhere on your page/table.

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list