Python library LVM

I am new to python and I have installed python-pip package for the following purpose.

1. import LVM library and use it

How can i import LVM library? for LVM operation is there any library for python?

Can some one give me some steps on how to get this working.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

aikimarkConnect With a Mentor Commented:

Are you able to create the LV with shell commands?  If so, why not just issue those commands from your Python code?
Gerwin Jansen, EE MVETopic Advisor Commented:
What is your goal here? Do you want to start programming in Python, or do you want to change something existing?
linuxpersonAuthor Commented:
I wanted to create a simple LV using python.
linuxpersonAuthor Commented:

I will go with the LVM command  then.
All Courses

From novice to tech pro — start learning today.