Home | Trees | Indices | Help |
|
---|
|
Network related functions, such as get_ip_address(), http_call(), parse_url() and others.
|
|||
string |
|
||
list |
|
||
|
|||
|
|||
|
|||
ElementTree |
|
||
tuple |
|
||
tuple |
|
|
Determine the IP address given the interface name http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/439094 (c) Paul Cannon Uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
|
Return a list of the active network interfaces Default route of /proc/net/route has the destination field set to 00000000
|
Returns a HTTPResponse object for the given call.
|
Fetches an URL into a file or returns a file descriptor. If attempts and interval are not specified, they get their values from brisa.url_fetch_attempts and brisa.url_fetch_attempts_interval.
|
Converts an arbitrary string to byte string in UTF-8. On failure returns the given string.
|
Parses XML data into an ElementTree.
|
Parses HTTP response data into a tuple in the form (cmd, headers).
|
Parse a URL into 6 components.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jun 9 22:24:56 2009 | http://epydoc.sourceforge.net |