Re: [Tutor] IDLE Caching

2006-07-23 Thread Luke Paireepinart
Bugra Cakir wrote: > Hi, > > I have a problem with IDLE on Windows. > While I'm executing a python script in IDLE subsequence you mean subsequent :) > editing and executions on the file sometimes doesn't reflect the changes. > For example, i changed the file then save it, execute it, although i >

[Tutor] IDLE Caching

2006-07-23 Thread Bugra Cakir
Hi,I have a problem with IDLE on Windows.While I'm executing a python script in IDLE subsequenceediting and executions on the file sometimes doesn't reflect the changes.For example, i changed the file then save it, execute it, although i changed the file, IDLE shows the previous version of the file

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

Re: [Tutor] Writing python scripts to control GIMP

2006-07-23 Thread Kent Johnson
Richard Querin wrote: > Hi, > > I'm interested in learning about how to write python scripts that can > control the GIMP. I've read about several scripts but I'd like to know > where to start learning about how it's done. Anybody got any good > places to look for tutorials, references etc? Hav

Re: [Tutor] starting a program from python

2006-07-23 Thread Kent Johnson
johnsonv3 wrote: > Hi, > Using Windows XP Home & python 234 > I am trying to start python programs that run Panda 3D without having > to open command prompt and type a path every time I run a program. > > This pandastart.bat file works... > > cd C:\Panda3D-1.2.3\mystuff > ppython bvd.py > >

[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(

Re: [Tutor] loops to assign variables

2006-07-23 Thread Alan Gauld
I've been on vacation so missed the start of this, apologies if i'm missing a point somewhere but... > Ah. I see. A copy, eh? Or, at least a new dictionary separate > from the "real" namespace. OK. I don't know why locals() returns > a copy as opposed to the original, What else can it do? W