This class is not the part of execution. Object of this class is used for printing the log in file as well as oin Terminal
| 32 | """ |
| 33 | |
| 34 | class Tee(object): |
| 35 | """ |
| 36 | This class is not the part of execution. |
| 37 | Object of this class is used for printing the log in file as well as oin Terminal |
| 38 | """ |
| 39 | def __init__(self, *files): |
| 40 | self.files = files |
| 41 | |
| 42 | def write(self, obj): |
| 43 | for f in self.files: |
| 44 | f.write(obj) |
| 45 | f.flush() # If we want the output to be visible immediately |
| 46 | |
| 47 | def flush(self): |
| 48 | for f in self.files: |
| 49 | f.flush() |
| 50 | |
| 51 | seed_dyn = 42 #Ignore seed_dyn if you are trying to randomize |
| 52 | abl = "6" #To perform ablation in audio |
no outgoing calls
no test coverage detected