python-firebase
python-firebase copied to clipboard
Windows import of module causes program to loop
So, on Linux it works fine, but I have this problem on 3 completely separate windows machines. The following code:
from firebase import *
print "test"
Causes the following output: test test test test test test
For some reason, simply importing the module causes the main program to loop 6 times, but only in Windows. Hopefully someone has some idea why it's doing this.
I ran into the same problem, but putting in a main function seems to be a work around for it.
from firebase import firebase
def main():
print "test"
if __name__ == "__main__":
main()