0

I made a process scheduler simulator. I gave each scheduling algorithm its' own class within its' own file. all within a folder called Schedulers. In order to use them I have to import them like this:

from Schedulers.SchedulerFCFS import SchedulerFCFS
from Schedulers.SchedulerSJF import SchedulerSJF
from Schedulers.SchedulerRR import SchedulerRR

Anytime I add a new Scheduler class I'd have to add it to the imports. Is there a better way to import all of these classes?

DNS_Jeezus
  • 289
  • 4
  • 17

0 Answers0