[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] want help about python APIs doc



On Tue, Sep 17, 2013 at 04:25:14PM +0800, Tony Gong wrote:
> hi friends,
>  I need some help for finding python APIs of libvirt. I
> have already find the Java APIs doc at here:
> http://libvirt.org/sources/java/javadoc/, is there any doc
> just like this to make me to find APIs more easy. many
> thanks!!

We don't have any python docs online, but python itself can
tell you about its APIs.

eg

  $ python
  import libvirt
  print help(libvirt)
  print help(libvirt.virConnect)
  print help(libvirt.virDomain)
  print dir(libvirt)
  print dir(libvirt.virConnect)
  print dir(libvirt.virDomain)

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]