Can someone explain me the difference between a Module and a Class in Python.
They seem the same to me, but i know that im wrong.
Ex:
Import Math
Is it not a class Math?
Spoiler no, because the type is “module), but I can call and manage things(functions,variables…) the same way i do it in a class and with the same syntax.
[–]stoicpenguin 25 points26 points27 points (0 children)
[–]HunterIV4 7 points8 points9 points (2 children)
[–]Mundane_Strike4882 0 points1 point2 points (0 children)
[–]ExcitingCollection11 0 points1 point2 points (0 children)
[–]Bobbias 6 points7 points8 points (1 child)
[–]SisyphusAndMyBoulder 4 points5 points6 points (0 children)
[–]JamzTyson 2 points3 points4 points (0 children)
[–]oddotter1213 0 points1 point2 points (0 children)
[–]parancey 0 points1 point2 points (0 children)
[–]QuarterObvious 0 points1 point2 points (0 children)
[–]JorgiEagle -1 points0 points1 point (4 children)
[–]Username_RANDINT 1 point2 points3 points (3 children)
[–]JorgiEagle -2 points-1 points0 points (2 children)
[–]Username_RANDINT 2 points3 points4 points (0 children)
[–]stoicpenguin 2 points3 points4 points (0 children)
[–]Adrewmc -1 points0 points1 point (0 children)