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.
linuxpersonAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
aikimarkConnect With a Mentor Commented:
@linuxperson

Are you able to create the LV with shell commands?  If so, why not just issue those commands from your Python code?
0
 
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?
0
 
linuxpersonAuthor Commented:
I wanted to create a simple LV using python.
0
 
linuxpersonAuthor Commented:
yes.

I will go with the LVM command  then.
0
All Courses

From novice to tech pro — start learning today.