Hi!
I can't build the following code:
class Foo:
def __init__(self, val):
self.val = val
def main():
f = Foo("success")
print f.val
if __name__=="__main__":
main()
NameError: global name 'Foo' is not defined
Have I missed something or do I have to put Foo in Foo.py and import
it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---