Python : get all exe files in current directory and run them?

Posted by Maciek on Stack Overflow See other posts from Stack Overflow or by Maciek
Published on 2010-06-10T12:02:16Z Indexed on 2010/06/10 12:12 UTC
Read the original article Hit count: 353

Filed under:
|

Hey all,

First of all this is not homework, I'm in a desperate need for a script that will do the following, my problem is, I've never had to deal with python before so I barely know how to use it - and I need it to launch unit tests in TeamCity via a commandline build runner

What I need exactly is :

a *.bat file that will run the script

a python script that will :

  • get all *_test.exe files in the current working directory
  • run all the files which were the result of the search

Best regards

© Stack Overflow or respective owner

Related posts about python

Related posts about teamcity-5.1