Re: [Tutor] pygame error

2013-11-29 Thread Steven D'Aprano
On Thu, Nov 28, 2013 at 12:43:17AM +0530, Vipul Sharma wrote: > Hello ! I am a beginner in pygame, i was just trying a simple pygame > program where I wanted to load an image (.png) from the same directory > where my actual source code was. > I wrote this line in my source code to load the image :

Re: [Tutor] pygame error

2013-11-27 Thread Alan Gauld
On 27/11/13 19:13, Vipul Sharma wrote: Hello ! I am a beginner in pygame, i was just trying a simple pygame program where I wanted to load an image (.png) from the same directory where my actual source code was. I wrote this line in my source code to load the image : Img = pygame.image.load('cat

[Tutor] pygame error

2013-11-27 Thread Vipul Sharma
Hello ! I am a beginner in pygame, i was just trying a simple pygame program where I wanted to load an image (.png) from the same directory where my actual source code was. I wrote this line in my source code to load the image : Img = pygame.image.load('cat.png') But I got a traceback : pygame.e