Guest User

Untitled

a guest
Oct 25th, 2011
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $ python
  2. Python 3.2.2 (default, Sep 18 2011, 05:30:47)
  3. [GCC 4.4.5] on linux2
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import sys
  6. >>> class debugLogger:
  7. ... def write(self, stng):
  8. ... pass
  9. ... sys.stdout = debugLogger()
  10. File "<stdin>", line 4
  11. sys.stdout = debugLogger()
  12. ^
  13. SyntaxError: invalid syntax
  14. >>>
  15.  
Advertisement
Add Comment
Please, Sign In to add comment