Hi,
<I don't know where to post this, but this question is related to Python>
We have a returned page with two tables, each table one dictionary returned from database with bunch of values (may or may not) and we are displaying these tables side by side. Our requirement needs to compare values side by side (by scrolling one frame) but values returned in each in different order, in order to compare, we must use HTML frameset.
In general the frameset works with html src

(ex: <frameset cols="50%,50%">
  <frame src="frame_a.htm" scrolling="yes" />
  <frame src="frame_b.htm" />
</frameset>

In our code we returning dictionaries dynamically, but frame tag is expecting src as htm page. How do we manage to show the data in frames?

Can't you use CGI (Python) script instead of htm file?

I've no idea how to use cgi script, if you have anything please share it

http://wiki.python.org/moin/CgiScripts

Oh Sorry pyTony for unclear of my question, actually we have been using cgi script since a while but how do we implement frameset tags using cgi module, that was my question?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.