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
#12
(Sep-03-2019, 05:22 PM)metulburr Wrote: You should also find your pygame examples in this path then
/Users/piethon/Library/Python/3.7/lib/python/site-packages/pygame/examples

No. My python 3.7 folder is not in that path. It is a folder, in my applications. Inside this folder, is no site-packages folder. Just this:

IDLE
InstallCertifications.command
License.rtf
PythonDocumentation.html
PythonLauncher
ReadMe.rtf
Update Shell profile.command

No folder called site-packages.
Reply
#13
Sorry. i dont know about the mac structure, so i am only to take shots in the dark. Unless someone jumps in here with knowledge about macs, i would suggest to ask a mac forum.
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame has missing files. DamonTattersfield 1 3,386 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