Sep-03-2019, 09:00 AM
Hello.
Pygame has examples. On their website, stands this:
To get the files, run this code in the python interpreter:
I've replaced the code above, by:
Nothing else happens.
So how can I find out, where those files are saved? Thanks for your help.
Piethon
Pygame has examples. On their website, stands this:
To get the files, run this code in the python interpreter:
>>> import pygame.examples.scaletest >>> pygame.examples.scaletest.__file__ '/usr/lib/python2.6/site-packages/pygame/examples/scaletest.py'I wanted to have the files for examples.aliens.
I've replaced the code above, by:
import pygame.examples.aliens pygame.examples.aliens.__file__ '/usr/lib/python2.6/site-packages/pygame/examples/aliens.py'Every time, I run it, nothing happens. It just says: Welcome to the pygame community: (Link to pygame website).
Nothing else happens.
So how can I find out, where those files are saved? Thanks for your help.
Piethon