This repository contains a solution for Assignment1 in Software System Design course for ROCV master's program at Innopolis University. Tasks description can be found here.
├── src <- directory for source files
| ├── main.py <- contains 4 functions to be decorated with 4 different decorators
| ├── task1.py <- contains function decorator_1 that calculates the execution time and number of calls for the argument function
| ├── task2.py <- contains function decorator_2 that extends decorator_1 with inspect module
| ├── task3.py <- contains class decorator_3 that do the same as task 1,2 using class but write the output in task3.txt and print ranking table
| └── task4.py <- contains function decorator_4 that pipes error stream into log file.txt instead of stdout
│
└── Readme.md