Re: [Tutor] Re: A simpler mousetrap

2004-12-16 Thread Liam Clarke
x=os.path.splitext(a)[0]+'.bak' Ah, jolly good, looks a bit simpler. Thanks! Regards, Liam Clarke On Thu, 16 Dec 2004 09:44:03 +0100, Wolfram Kraus [EMAIL PROTECTED] wrote: Liam Clarke wrote: Hi all, I'm writing some code, and I want to take a given path + filename, and change the

[Tutor] Re: [ANN] RUR: a Python Learning Environment (alpha)

2004-12-13 Thread André Roberge
This looks like a very nice effort -- I am trying to get it running, since I am working with some other newbies to learn more Python. I wish there were a link from http://rur-ple.sourceforge.net/index.html to the download page! I will fix that; thanks. And I am not sure which of the downloaded

[Tutor] Re: [ANN] RUR: a Python Learning Environment (alpha)

2004-12-13 Thread Ron Phillips
Can't get it running -- it keeps saying: Traceback (most recent call last): File "C:/source/RUR/RURmain.py", line 28, in ? messenger.loadImages() # load them up here after initialising Handlers File "C:\source\RUR\messenger.py", line 27, in loadImages HIT_WALL_IMAGE =

[Tutor] Re: [ANN] RUR: a Python Learning Environment (alpha)

2004-12-13 Thread André Roberge
This is weird (to me, anyways) as it works well on my computer. However, I remember that I had to create loadImages() to initialize the handlers early on, otherwise it was complaining that it couldn't ConvertToBitmap. I'll have to see if I can move this statement elsewhere; I will reply privately

[Tutor] Re: How to launch multiple processes from script?

2004-12-13 Thread Andrey Ivanov
I'm working my way through the sockets module. To test my simple server and clients, I'd like a way to launch the server and multiple clients from one script or batch file,all running simultaneously. Each server/client should run as it's own process and have a console window. I've briefly

[Tutor] Re: listing all combinations of elements of a list

2004-12-12 Thread Lee Harr
Is there a module containing a function for listing the unique k-element subsets of an n-item list? I have written some code (right now I only need it for 2 element subsets): Apparently not, but maybe this will help: http://www.google.com/search?q=python+recipe+list+combinations

[Tutor] Re: Pygame problems

2004-12-11 Thread Lee Harr
I am not sure if this is the right place, apologies if not. http://pygame.org/ http://pygame.org/info.shtml#maillist Now how can I get this to be on more than one line and bigger (for my simple game I need a much more detailed explanation). http://mu.arete.cc/pcr/

[Tutor] Re: PDF and Python

2004-12-10 Thread Ron Phillips
I just happened across an answer yesterday. PIL writes PDF s. http://www.pythonware.com/products/pil/ Ron ___ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Re: Could I have used time or datetime modules here?

2004-12-09 Thread Liam Clarke
Hi Brian and Dick, I for one have learnt a lot from this combined poke around the workings of datetime. The datetime.year thing never occurred to me, yet it was so obvious when I saw it being used. I give you, my python alarm clock timing mechanism, final version!

Re: [Tutor] Re: Could I have used time or datetime modules here?

2004-12-09 Thread Kent Johnson
Liam Clarke wrote: Hi Brian and Dick, I for one have learnt a lot from this combined poke around the workings of datetime. The datetime.year thing never occurred to me, yet it was so obvious when I saw it being used. I give you, my python alarm clock timing mechanism, final version!

[Tutor] Re: Can I see it?

2004-12-05 Thread Bob Gailer
At 03:36 AM 12/5/2004, you wrote: Hi Bob, That is what I am looking for! A simple RPN calculator program! Can I see what you have please? That depends. Are you are working on a homework assignment? I ask because when we see several posts of a similar question we suspect it is an assignment given

<    1   2   3   4   5