Tag: pythonView Object Signatures in PythonFebruary 15, 2011 You can typically view the signature of an object (i.e. a list of its instance files and methods) using the class Foo:
def __init__(self):
self.first = 'Aaron'
self.last = 'Gember'
f = Foo()
dir(f)
results in the following output from ['__doc__', '__init__', '__module__', 'first', 'last'] Categories: Development Tags: python Installing Phidgets in Fedora January 27, 2010 Phidgets are boards for sensing and control projects that are managed via a USB connection to a computer. I use the Phidget Interface Kit 0/0/4 for my Christmas light controllers. To control the boards from a Linux workstation, it is necessary to install the Phidgets driver. To allow connectivity to Phidgets from Fedora 12 (or Fedora 10 or 11):
I typically control the Phidget board using Python. To install the necessary Python modules:
Categories: Development, Linux Tags: fedora, phidgets, python |
SearchCategories
TagsR acm apt awk bash benchwork bibtex c compiz dd-wrt dia dvd eeebuntu eeepc eps excel fedora firefox flash freebsd gnome hostname iptables java kde latex mac os x mail merge mediawiki mercurial mrtg nvidia pdf phidgets printer putty pxe python route scenery sed snmp ssh structures subnet subversion sudo ubuntu vegetarian vim visio windows word wrt54gl x11 yum Years |