[Tutor] httpFetch Usage
Kent Johnson
kent37 at tds.net
Fri May 19 12:25:29 CEST 2006
kieran flanagan wrote:
> Hi,
>
> Does anyone know where I can get some info on the funtion httpFetch. Its
> being imported and used in a file I am adding code to and I would like
> to understand what it does. An example of its usage:
>
> response = httpFetch.httpFetch(url, sessionID, someValue)
httpFetch is not part of the standard library. Do you know who wrote it
or where it came from? If it is written in Python you should have the
source code for the module.
Try this in the interactive interpreter to locate the file:
import httpFetch
print httpFetch.__file__
This may print the path to a .pyc file; look in the same directory for
the corresponding .py file.
You can also try
help(httpFetch)
help(httpFetch.httpFetch)
dir(httpFetch)
Kent
More information about the Tutor
mailing list