Displaying 5 results from an estimated 5 matches for "__module__".
Did you mean:
__mode__
2012 May 08
2
creation of storage volume fails
...pool object
libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0)
from python:
-bash-4.1$ python
>>> import libvirt
>>> dir(libvirt.virStoragePool)
['UUID', 'UUIDString', 'XMLDesc', '__del__', '__doc__', '__init__', '__module__', 'autostart', 'build', 'connect', 'create', 'createXML', 'createXMLFrom', 'delete', 'destroy', 'info', 'isActive', 'isPersistent', 'listVolumes', 'name', 'numOfVolumes', 'refresh...
2011 Sep 06
1
list of all methods winthin an S4 class
Hello,
How can I generate an overview/vector of all the methods winthin an S4 class? Similar to dir() in this Python code:
>>> class SomeClass():
def some_method_1(self):
pass
def some_method_2(self):
pass
>>> dir(SomeClass)
['__doc__', '__module__', 'some_method_1', 'some_method_2']
>>>
Thanks in advance!
Cheers!!
Albert-Jan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh...
2011 Jan 03
1
availability of snapshots functionality via Python bindings
...0.4.6-10+lenny1
libvirt Python bindings
I don't see anything like snapshots available via libvirt.virDomain:
>>> dir(dom0)
['ID', 'OSType', 'UUID', 'UUIDString', 'XMLDesc', '__del__', '__doc__',
'__init__', '__module__', '_conn', '_o', 'attachDevice', 'autostart',
'blockPeek', 'blockStats', 'connect', 'coreDump', 'create', 'destroy',
'detachDevice', 'info', 'interfaceStats', 'maxMemory', 'maxVcp...
2008 Aug 16
1
python how do i stem words in python?
...setattr__
stemmer.__dict__ stemmer.__str__
stemmer.__doc__ stemmer.__swig_destroy__
stemmer.__getattribute__ stemmer.__weakref__
stemmer.__hash__ stemmer.get_available_languages
stemmer.__init__ stemmer.get_description
stemmer.__module__ stemmer.this
stemmer.__new__ stemmer.thisown
stemmer.__reduce__
2011 Feb 14
1
Use libvirt-python to attach cdrom
Hi all,
I want to attach cdrom by libvirt.py .But can't find a func in
libvirt.py can finish this work.
Who can help me ?
Regard
--
Seven Ling
E-mail: jiejie.ling at qq.com