Re: [Tutor] images

2018-07-25 Thread Beck, Caroline
Hi! I am a student working on a game in which I am trying to use a gif as my turtle. Currently, the turtle moves around the screen with the arrow keys, but the gif does not move with it. Below is how I have tried to tell the code that the gif is the turtle, but the code is not reading that the g

Re: [Tutor] Images on Python 3k

2010-01-16 Thread Alan Gauld
"Luhmann" wrote I have only started using python after Py3 was released, so this is is the only version I know. I have tried to make my code work in Python 2 so I could use PIL, This is one of the biggest barriers to adopting Python 3. Until PIL gets ported it's a non starter for many fol

[Tutor] Images on Python 3k

2010-01-16 Thread Luhmann
Hello List, Does anyone know of a way simple way to display JPG and PNG images on python 3? My program uses tkinter, and currently my solution is to use ImageMagick's convert through std to convert the images to gif. However the conversion is too time consuming. I have only started using pytho

Re: [Tutor] Images, and other things.

2009-10-02 Thread Kent Johnson
On Tue, Sep 29, 2009 at 7:00 PM, Corey Richardson wrote: > I haven't looked into this, but could you make a real time image using > python? I think it would be most hard > Anyway, I am having trouble with int(). I am trying to int(raw_input("some > number")), but it returns > Traceback (most r

Re: [Tutor] Images, and other things.

2009-09-29 Thread Luke Paireepinart
On Wed, Sep 30, 2009 at 1:29 AM, Corey Richardson wrote: > One of my friends was asking if you could make a game using python, but he > meant a Graphics, not text game. I was wondering if that was doable. > Yes, there are many libraries available for doing this. Pyglet is my favorite, but Pygam

Re: [Tutor] Images, and other things.

2009-09-29 Thread Luke Paireepinart
On Tue, Sep 29, 2009 at 6:00 PM, Corey Richardson wrote: > I haven't looked into this, but could you make a real time image using > python? I think it would be most hard > I haven't looked into this, but perhaps your questions are too vague? I think that may be the case What do you mean

[Tutor] Images, and other things.

2009-09-29 Thread Corey Richardson
I haven't looked into this, but could you make a real time image using python? I think it would be most hard Anyway, I am having trouble with int(). I am trying to int(raw_input("some number")), but it returns Traceback (most recent call last): File "C:/Users/Quick-Start/Documents/Python Do

Re: [Tutor] images

2007-11-04 Thread John Fouhy
On 05/11/2007, SwartMumba snake <[EMAIL PROTECTED]> wrote: > Hi > > I would like to know which is the best module to use, with regard to my > needs: > > - I would like to read an image off a website > e.g. http://www.examplecom/image/1/PNG/ > > - I would then like to read the pixels and do other th

[Tutor] images

2007-11-04 Thread SwartMumba snake
Hi I would like to know which is the best module to use, with regard to my needs: - I would like to read an image off a website e.g. http://www.examplecom/image/1/PNG/ - I would then like to read the pixels and do other things to the image I am currently using python 2.5 Thanks in advance . .

Re: [Tutor] images in pygame

2006-07-23 Thread Luke Paireepinart
the tutor mailing list didn't like the zip I attached, so here's the text of the e-mail I wrote to Joe without the zip included. start- Pygame-specific questions should be posted to the pygame mailing list, not tutor, probably. Joe F wrote: > Hello, I have a code here. and I want to make

Re: [Tutor] images in pygame

2006-07-23 Thread R. Alan Monroe
Dunno if this is the best way, but it works... Replace this: > if events.key == K_DOWN: with this: > if events.key == K_DOWN and not imagerect.colliderect(imagerects): Alan ___ Tutor maillist - Tutor@python.org http://mail.python.o

[Tutor] images in pygame

2006-07-23 Thread Joe F
Hello, I have a code here. and I want to make the "rockwholescreen.gif" blocked, but still displayed.  I want it so "001.png" can't walk through that gif.  any ideas?import pygame, os, sysfrom pygame.locals import *  pygame.init( ) def _loadImages_ ( path, name ):        image_obj   = os.path.join(