HTML and python

John J. Lee jjl at
Sun Jun 2 15:24:09 EDT 2002

On Sun, 2 Jun 2002, Steve Holden wrote:
> "Ken" <ken at> wrote in message
> news:ad94md$viphf$1 at
> > How do you call to a static HTML page from the script?
> >
> > <FORM METHOD="POST" ACTION="frame2a.html" target=_parent>
> > This doesn't seem to be working..... Can someone help?
> >
> It really makes no sense to use method POST to access a static page. Using
> method GET will probably owrk, though you will see the for contents in the
> URL.

Why doesn't it make sense?

(following from memory, may be wrong)

from urllib2 import urlopen
from urllib import urlencode
result = urlopen(url, urlencode(data))

Sorry if this is no help -- I didn't see the original message.


More information about the Python-list mailing list