Get the IP address of a network interface Download
Wednesday, May 21st, 2008This script 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
This script 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
This script returns a datetime.timedelta instance representing the uptime in a Windows 2000/NT/XP machine.
Do
This script represents a very simple proof-of-concept of an ostreams-like interface wrapping around file-like objects, included a demonstration of manipulators.
Midori’s PyKCS11 is a PKCS11 API wrapper for Python.
Features:
- Wraps the PKCS#11 API so it can be easly used from Python. - Wra
This class implements the observer design pattern. Acting as a registration hub, it fires simple Events when requested.
This script contains a class that creates a persistent FIFO queue named by the ‘name’ argument. The number of cached queue items at the head and tail of the queue is determined
This is a simple program using Twisted Perspective Broker and showing use of Twisted Deferreds and other callback mechanisms. It starts the server without arguments and the cli
This is a program for exploring longitude/latitude based data stored in NetCDF file format. Ncvtk is built on top of the VTK toolbox.
Ncvtk has been designed
Py-Xmlrpc is an extremely fast implementation of the xmlrpc spec for Python (written in C). It supports both blocking and non-blocking clients and servers on Windows and POSIX
xmlrpc server/client script does cookie handling and supports basic authentication. The client sends a request with basic authentication and the server on successful authentica