+ 1

What is mean by __main__ method in python

15th Mar 2021, 2:58 AM
s.ruthvik
s.ruthvik - avatar
4 odpowiedzi
+ 3
The __main__ block can be used to prevent or allow parts of code when the modules are imported.
15th Mar 2021, 3:06 AM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar
0
I didn't get your idea
15th Mar 2021, 4:59 AM
s.ruthvik
s.ruthvik - avatar
0
15th Mar 2021, 5:32 AM
visph
visph - avatar
15th Mar 2021, 10:34 AM
iTech
iTech - avatar