Invoke cgi from cgi script

Magnus L. Hetland mlh at idt.ntnu.no
Sat Oct 9 12:21:06 EDT 1999


gopaliv at my-deja.com writes:

> I have two cgi scripts.  I need to invoke the other cgi script from
> the first cgi script.  How should I do this?
> 

Use urllib... For instance:

  from urllib import urlopen
  cgioutput = urlopen("http://something/something.cgi")

Quite simple, huh?

> Thanks
> Gopal

--

  Magnus          Echelon jamming noise:
  Lie             FBI CIA NSA Handgun Assault Bomb Drug Terrorism
  Hetland         Special Forces Delta Force AK47 Hillary Clinton 




More information about the Python-list mailing list