Is there a way I can, from within a Python program, run a C++ .exe and time how long it takes to return a value (and also be able to print to screen what that program’s return value is)? These programs are C++ console programs.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Something like
Should work.
(Subprocess module documentation)