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
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 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.
 
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/