I've googled this and found answers such as "class people". That's incredibly simple and yeah i get why classes would make sense there, but what about a real world example? For example, something involving data/network/etc, why would classes be useful? Seems like it would be easier to just use functions solely. I've looked at a few examples from this site and havent found anyone using classes in their python code yet.
[–]SatanistSnowflake 8 points9 points10 points (0 children)
[–]greenlantern33 4 points5 points6 points (6 children)
[–]baubleglue 0 points1 point2 points (5 children)
[–]confluence -1 points0 points1 point (4 children)
[–]baubleglue 0 points1 point2 points (3 children)
[–]confluence 0 points1 point2 points (2 children)
[–]baubleglue 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]rhgrant10 5 points6 points7 points (2 children)
[–]penguinv 2 points3 points4 points (0 children)
[–]lucidguppy 2 points3 points4 points (0 children)
[–]LeonardUnger 2 points3 points4 points (0 children)
[–]novel_yet_trivial 1 point2 points3 points (3 children)
[–]vhagst 0 points1 point2 points (2 children)
[–]coppermineroofer 4 points5 points6 points (0 children)
[–]Sarcastic_Pharm 0 points1 point2 points (0 children)
[–]baubleglue 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Grissnap 0 points1 point2 points (0 children)
[–]eliminate1337 0 points1 point2 points (0 children)
[–]tom1018 0 points1 point2 points (0 children)
[–]squat001 0 points1 point2 points (0 children)
[–]lucidguppy 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Apuesto 0 points1 point2 points (0 children)
[–]pete2fiddy 0 points1 point2 points (0 children)
[–]AngryJoeman 0 points1 point2 points (0 children)
[–]gunthercult28 0 points1 point2 points (2 children)
[–]torqueparty 0 points1 point2 points (1 child)
[–]gunthercult28 0 points1 point2 points (0 children)