How can I add pictures to my python game using JGrasp and PyGame?

  • Context: Python 
  • Thread starter Thread starter ignacio_cabero
  • Start date Start date
  • Tags Tags
    Pictures Python
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
ignacio_cabero
Messages
3
Reaction score
0
Hello. I am creating a text-based video game using python, and I was wondering how I could put pictures from my Mac into the game. I am using JGrasp if it helps to know.
 
Physics news on Phys.org
Take a look at the PyGame library
http://www.pygame.org/news.html

If that's too heavyweight and you *just* want to show an image then you can use Python Image Library

http://www.pythonware.com/products/pil/