more linux compatible good practice stuff?
This commit is contained in:
7 files changed
+34
-23
No files matched your search
Regular → Executable
+6
-3
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3.11
|
||||
import json
|
||||
import random
|
||||
from inspect import currentframe
|
||||
@@ -589,7 +589,7 @@ def generateScheduleV3(
|
||||
|
||||
return running
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
print("Processing...")
|
||||
|
||||
sampleStudents = getSampleStudents(True)
|
||||
@@ -601,4 +601,7 @@ if __name__ == '__main__':
|
||||
with open("../output/timetable.json", "w") as outfile:
|
||||
json.dump(timetable, outfile, indent=2)
|
||||
|
||||
print("Done")
|
||||
print("Done")
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in new issue
Block a user