Advertisement
Guest User

Untitled

a guest
Jun 11th, 2010
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. class Foo(object):
  2.     count = 0
  3.         def __init__(self):
  4.             self.name = 'My name is %s' % self.count
  5.             self.count += 1
  6.  
  7. bla = [Foo() for i in range(1000000)]
  8. raw_input('oi?')
  9. del bla
  10. raw_input('e agora?')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement