Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Initialize variables in the program

Daraen
Beginner
380 Views

Good morning.

 

I want to run my program without using manually "setupvars.bat" each time.

So I would like to use a function like system(".../setupvars.bat"), is it possible?

 

Thank you.

0 Kudos
1 Reply
Shubha_R_Intel
Employee
380 Views

Dear Daraen,

This is not really an OpenVino question but I found some links which will hopefully help you:

https://datatofish.com/batch-file-from-python/

https://stackoverflow.com/questions/49905415/how-do-i-set-environment-variable-using-python-script

Thanks,

Shubha

 

0 Kudos
Reply