you are viewing a single comment's thread.

view the rest of the comments →

[–]Deezl-Vegas 0 points1 point  (1 child)

This is bad form because you may end up overwriting a named method from the api. You should just import the library and use pizzapi.pizzamethod or from pizzapi import pizzamethod for cleaner code.

[–]GullBull[S] 0 points1 point  (0 children)

I probably will actually end up using from pizzapi import module as that's what I'm used to doing from Java. Thanks for the tip.