6
Vaypron
5y

Just happened 4 days ago.
I was writing a thesis and at the same time creating a tool which automates my measurements.
It was written in Python and everything worked very well.
Of course I left it to my advisor for further measurement, telling him that if he want to measure multiple times he just need to loop over the measure-function.
I left him an example-file which looked a little like this:

example.py:
"""
import measurement_class

# Parameters

if __name__ "__main__":
m_class = measurement_class.coordinator(#Parameters)
m_class.measure(#someotherparameters)
"""
So after a few weeks I came back to my advisor (four days ago) to see this:

loop_over.py:
"""
import os

for _ in range(0,100):
os.system("python3 example.py")
"""

I'm not sure how I should feel about it...

Comments
Add Comment