Advertisement
Tyler_Elric

wtf

Feb 25th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. >>> import pygame
  2. >>> pygame.init()
  3. (6, 0)
  4. >>> img = pygame.image.load(open('fontWestern.png'))
  5. Traceback (most recent call last):
  6. File "<stdin>", line 1, in <module>
  7. pygame.error: Unsupported image format
  8. >>> pygame.display.set_mode(500,500)
  9. Traceback (most recent call last):
  10. File "<stdin>", line 1, in <module>
  11. TypeError: must be 2-item sequence, not int
  12. >>> pygame.display.set_mode((500,500))
  13. <Surface(500x500x32 SW)>
  14. >>> img = pygame.image.load(open('fontWestern.png'))
  15. Traceback (most recent call last):
  16. File "<stdin>", line 1, in <module>
  17. pygame.error: Unsupported image format
  18. >>> img = pygame.image.load('fontWestern.png')
  19. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement