If everything is under one file, syncMyMoodle will keep getting progressively harder to maintain and modify.
A better approach would be keeping the core functionality of main() under __main__.py and putting things like class definitions to other files. The goal here would be making the code even more "OOP"-like than it already is and improve modularity. This should help with developing additional extensions in the long run.
If everything is under one file, syncMyMoodle will keep getting progressively harder to maintain and modify.
A better approach would be keeping the core functionality of
main()under__main__.pyand putting things like class definitions to other files. The goal here would be making the code even more "OOP"-like than it already is and improve modularity. This should help with developing additional extensions in the long run.