Thread for Python Modules

The VE Python API allows users create simple programs using the Python Programming Language, to interact with a VE Model and/or Vista Results File
Post Reply
LeightonSS55
VE Beginner
VE Beginner
Posts: 10
Joined: Mon Aug 22, 2016 1:50 pm

Thread for Python Modules

Post by LeightonSS55 »

Hi,

What is the process for working with modules that are not contained within the VE Python virtual environment?

Is there a way I can access them within VE Scripts? Or can we ask to include a module and it be included in a hotfix of some sort?

I am after OpenPyxl to be included, as I am hitting workflow roadblocks when reading and writing to excel using Pandas & Xlsxwriter and xlrd.

https://openpyxl.readthedocs.io/en/stable/index.html

OpenPyxl can be accessed by Pandas as the excel read/write engine and so I think would be a valuable addition to VE scripts.

If anyone else wanted to add their own modules which they want included, with an explanation to why - that would be great also.

Many thanks,

Leighton
User avatar
Rhind
IES Staff
IES Staff
Posts: 87
Joined: Fri Mar 22, 2013 5:06 pm

Re: Thread for Python Modules

Post by Rhind »

Hi,

I've logged that request in the system for consideration. You can also send library inclusion requests to feedback@iesve.com.

By the way, if you want to add more search paths to the Python Editor you can do so. If you press the configure button there is a paths section at the bottom of the configuration window which you can add to in order to include additional libraries from other locations.
Post Reply