johnsliao/os-scheduler-algorithm-simulation

Running Application on Newer Python Versions

Opened this issue · 0 comments

Hello! I tried downloading this application and running it but encountered issues with syntax in algorithm.py. I've gone through and fixed the syntax errors and it runs fine now. Please let me know if you're interested in adding me as a contributor, as I have a branch of this repo locally with the fixes, ready to be merged.

If anyone wants to implement the fix themselves, go into algorithm.py and fix the following two deprecated components:

  1. All instances of

    Exception, e:
    Need to be changed to
    Exception: or Exception as e

  2. Some print functions are missing the start and end parenthesis.

In any case, the interpreter points out these errors clearly.