I have around 20 python files.
Each time I run these files in the terminal this form one after another :
python a.py
python b.py
python c.py
python d.py
python e.py
python f.py
python g.py
.
.
.
(I have provided general file names here)
This process takes lot of time.
Is it possible to run these file together one after another through any script..?
If possible, then how..?
Please provide the code if possible...
I came to know through few sites that, using bash script we can do that..
I don't know how to implement it.
If you can suggest any other method, even that would be helpful.
EDITS:
And I need to generate report for each file using nosetests.
The problem I am facing with nosetests is that, it creates an HTML file with the name results.html
.
Each time the report is created, the latest HTML file replaces the old HTML file. Beacuse the names are same.
So what I am doing now is, renaming the report each time i run the nosetests for a python file. Run the nosetests for second file, report gets generated, and rename it.. it goes on...
If somebody could tell me how I can overcome this, It would be helpful..
I am working on Ubuntu 14.04