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

Initialize variables in the program

Daraen
Beginner
108 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
108 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

 

Reply