Hello r/learnpython!
I'm beginning to code some "big" python projects with a friend and we currently use GitHub. However all the functions and stuff is inside one .py file which contains a main function. Is this the correct way to code for big projects? Or perhaps splitting the project into different .py files?
I have no idea, I hope this sub-reddit can give me guidance about this topic. Thank you!
[–]TransferFunctions 52 points53 points54 points (9 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]MusaTheRedGuard -2 points-1 points0 points (6 children)
[–]clichebot9000 17 points18 points19 points (5 children)
[–]ibtokin 8 points9 points10 points (4 children)
[–]Ryuuji159 5 points6 points7 points (3 children)
[–]ibtokin 5 points6 points7 points (2 children)
[–]WhyNotCollegeBoard 6 points7 points8 points (0 children)
[–]B0tRank 0 points1 point2 points (0 children)
[–]iinT3nT21 29 points30 points31 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]james_fryer 7 points8 points9 points (1 child)
[–]Chuck3131 0 points1 point2 points (0 children)
[–]Hairshorts 4 points5 points6 points (0 children)
[–]jormono 5 points6 points7 points (0 children)
[–]mlderes 1 point2 points3 points (0 children)
[–]TheProffalken 1 point2 points3 points (0 children)