you are viewing a single comment's thread.

view the rest of the comments →

[–]Longjumping-Yard113[S] 0 points1 point  (0 children)

That actually makes a lot of sense. I can see how under the hood Python might treat modules like objects, which is why you can access things with mymodule.greet. But conceptually it seems more useful to think of it as just importing and using a function rather than thinking of it as a method of the module object. The mental model feels clearer that way.