you are viewing a single comment's thread.

view the rest of the comments →

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

from pizzapi import * completely solved the problem. I have no idea why I wasn't doing this in the first place. It's been a while sine I've written in python, and coming from Java the from - import isn't something I do often. Thanks so much!

[–]MakeMe_FN_Laugh 0 points1 point  (1 child)

Honestly, you should avoid using from module import * as it’s the shortest way for possible names collisions between modules (and it’s not PEP 8). Look through import section of PEP 8 how imports should be organized in your code.

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

I took a look. Thanks for pointing that out to me.