Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import pygame
- >>> pygame.init()
- (6, 0)
- >>> img = pygame.image.load(open('fontWestern.png'))
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- pygame.error: Unsupported image format
- >>> pygame.display.set_mode(500,500)
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- TypeError: must be 2-item sequence, not int
- >>> pygame.display.set_mode((500,500))
- <Surface(500x500x32 SW)>
- >>> img = pygame.image.load(open('fontWestern.png'))
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- pygame.error: Unsupported image format
- >>> img = pygame.image.load('fontWestern.png')
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement