drive encryption using python

A forum for general discussion of the Python programming language.

drive encryption using python

Postby abroy » Tue Aug 27, 2013 4:13 am

Here i am trying to encrypt my removable media(F:) using python but getting the error, my script is

Code: Select all
from win32com.client import Dispatch

colitem=objSwbemservices.ExecQuery("SELECT * FROM Win32_EncryptableVolume")
for objitem in colitem:
    if Driveletter=="F:"
       print objItem.GetConversionStatus

its showing following error

'int' object is not callable
Last edited by micseydel on Tue Aug 27, 2013 5:17 am, edited 1 time in total.
Reason: Locked OP, added code tags.
Posts: 1
Joined: Tue Aug 27, 2013 3:53 am

Re: drive encryption using python

Postby micseydel » Tue Aug 27, 2013 5:19 am

Please post your full traceback verbatim.
Join the #python-forum IRC channel on!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
Posts: 1992
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 2 guests