Python Forum
How to find the pygame example files?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find the pygame example files?
#11
You should also find your pygame examples in this path then
/Users/piethon/Library/Python/3.7/lib/python/site-packages/pygame/examples
EDIT:
Just caught this
(Sep-03-2019, 02:09 PM)Piethon Wrote: So I've opened VS Code, and made a file called findthing.py, that looked like this:
 import sys 
sys.path 
['', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages'] 
This list on the last line is the output for me from running sys.path. Yours will be different. IF you do it tht way just print it
import sys
print(sys.path)
Recommended Tutorials:
Reply


Messages In This Thread
How to find the pygame example files? - by Piethon - Sep-03-2019, 09:00 AM
RE: How to find the pygame example files? - by metulburr - Sep-03-2019, 05:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame has missing files. DamonTattersfield 1 3,499 Dec-27-2019, 11:54 AM
Last Post: Windspar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020