load html frameset out of Python script

Joonas Paalasmaa joonas at olen.to
Sat Mar 23 04:17:21 EST 2002


Andreas wrote:
> 
> Hello everybody,
> 
> I am trying to set up a html site with frames. I want to load the
> frameset out of a Python script.
> Frameset definition:
> 
 
    [html snipped]

> 
> I load this with the following code:
> 
> File = "%s" % ('frameset.html')
> PageHandle = open(File, "r")
> PageInput = PageHandle.read()
> PageHandle.close()
> Display(PageInput)
> 
> ...the html file will be found but I can see just an empty page.
> 
> What can I do to realize this problem?
> Is it possible to write in a specific frame from my scripts?

What does that function Dispay do. Can you show the whole script, not
just a part of it.



More information about the Python-list mailing list