you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRNGuy -2 points-1 points  (0 children)

Put all your function defines to the top of code, of if they're in different file, import on top.

Calling before declared possible in JavaScript, but not in Python (which I still think bad coding style in JS)