Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
I'd like to set up something like this: a=0 class b: def__init__(self, foo): self.foo = foo def create(): global a a=a+1 a=b("FOO") Where the number 1 will define the instance (I'm not sure if define is the write word, whatever you put before the equals sign when your creating an … |