Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
35 Views

Initialize variables in the program

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
Highlighted
Employee
35 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