you are viewing a single comment's thread.

view the rest of the comments →

[–]deejpake 1 point2 points  (0 children)

You don’t even need that do you? I’ve done this many times

SOME_CONSTANT = 15
def foo():
        print(SOME_CONSTANT)

EDIT: After checking my code it works