Message from Python discussions

November 2018

— Rsrsrs

— 

Hi. I've a question.
I'm making a big project which will contain more than 3 classes. Is it better to place the classes in different files as modules? Or is there any difference?

— It doesn't make a difference but it makes it cleaner

— Got it.
And if I place them in different files do I need to use if name == "main"?

— Not sure... I don't use python often

— But i don't think so

— Ok,let me see what's there in google

— I see, I don't need it. Thanks 👍

— Not if you don't need your modules to be executed individually. Although you might find it useful to add it for tests

Message permanent page

— Anywhere I can check to code trading volume and price prediction ml code examples

— Github

— But you need some intelligence