Nov-05-2020, 03:21 AM
So I'm not really looking for a coding solution but more along the lines as advice. I have been working on a personal assistant for my self and I'm at the point where the project is getting to be a lot of code. So my question is what's the proper and professional way of organizing projects? Is it better to group functions in different .py files so for example I have functions that deal with lights should I make a .py file name it lights and put all the light functions in that file and then import the lights file to a main file and do the same thing with functions that control my google calendar? or should I put everything in one big .py file and call it a day.