I have different c++ executable files compiled for different architectures(x86_64,arm32 etc) with different names in a folder inside my python3 project. I would be using one of these when i run the project on the corresponding architecture. Currently I change the path of the executable file before running in various architectures. Could someone suggest me the way to :
- find the machine architecture info (whether arm32,x86 etc) of these executable or get the executable compiled for the architecture in which the code is running or In which machine or architecture is the each of these executable is complied.
I tried to check the platform library in python,but i didn't get any valid solution . How do i achieve any one the above in Python3