Walid-khaled / Python-Decorators-in-Action

This repository contains a solution for Assignment1 in Software System Design course for ROCV master's program at Innopolis University.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decorators in Action (SSD_Assignment1)

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.


Table of Content

├── 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

About

This repository contains a solution for Assignment1 in Software System Design course for ROCV master's program at Innopolis University.


Languages

Language:Python 100.0%