Python Forum
beginner needs PyGame advice
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
beginner needs PyGame advice
#4
You can change pythons installation directory when you install python. Within python sub directories lies a location for 3rd party libraries such as pygame. I forgot the path in windows as I use Linux.

In your script you simply put

import pygame
And python searches its directories for that library.
Recommended Tutorials:
Reply


Messages In This Thread
beginner needs PyGame advice - by barryjo - Dec-03-2021, 09:25 PM
RE: beginner needs PyGame advice - by metulburr - Dec-03-2021, 10:12 PM
RE: beginner needs PyGame advice - by barryjo - Dec-03-2021, 10:39 PM
RE: beginner needs PyGame advice - by metulburr - Dec-04-2021, 01:51 AM
RE: beginner needs PyGame advice - by snippsat - Dec-04-2021, 11:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to create .exe with PyGame [BEGINNER] PolarBear123 1 2,364 Mar-13-2020, 02:54 AM
Last Post: snippsat
  Beginner needing advice with data files JFI2019 2 2,229 Nov-06-2019, 04:56 PM
Last Post: JFI2019
  Pygame*import pygame ImportError: No module named pygame CASPERHANISCH 1 9,770 Jun-05-2017, 09:50 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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