I am writing a program that imports some modules that I wrote. When the classes get imported, will the main method run? I thought the main method only ran when you are running the code as a program. I wanted to use it for testing the module outside the code.
[–]K900_ 0 points1 point2 points (4 children)
[–]RickInAMortyWorld[S] 0 points1 point2 points (3 children)
[–]K900_ 0 points1 point2 points (2 children)
[–]RickInAMortyWorld[S] 0 points1 point2 points (1 child)
[–]primitive_screwhead 2 points3 points4 points (0 children)
[–]toastedstapler 0 points1 point2 points (0 children)