[Parted-maintainers] Bug#692503: provide some simple examples

Michael Ablassmeier abi at grinser.de
Tue Nov 6 20:45:06 UTC 2012


Package: python-parted
Severity: wishlist

hi,

searching the web for examples on how to use python-parted was not quite
successful, i think the only good resource at the moment is to look at the
anaconda sourcecode. Maybe its possible to provide some simple examples to get
one started. Attached are two small examples, one which shows simple
information about attached devices, another one which lists partitions for a
certain device.

bye,
    - michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list_devices.py
Type: text/x-python
Size: 468 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20121106/5ee94b5f/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list_partitions.py
Type: text/x-python
Size: 600 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20121106/5ee94b5f/attachment-0001.py>


More information about the Parted-maintainers mailing list