Trying to convert OST to PST using Aspose Email for python via NET
I am getting the error PersonalStorage is not defined, but cannot figure out what to import to access PersonalStorage class in python.
Here is the code line and the traceback
pst = PersonalStorage.from_file(“xxxxxxxxx.ost”)
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘PersonalStorage’ is not defined
Can you please share source file so that we may further investigate on our end to help you out.
Please try to use following code snippet on your end. This will help you to achieve your results.
PersonalStorage.from_file(“outlook0.ost”, False) ;
ost.save_as (“some.pst”, FileFormat.PST);
could someone solve the problem?