Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
On 7/31/07, Toni Alatalo [EMAIL PROTECTED] wrote: On Wednesday 01 August 2007 08:39:18 altern wrote: Ian Mallett(e)k dio: By command-line I mean something where you select the file from the console window. I once wrote a little program that does that, but only to lower level

Re: [pygame] Select a File...

2007-08-01 Thread Toni Alatalo
On Wednesday 01 August 2007 08:39:18 altern wrote: Ian Mallett(e)k dio: By command-line I mean something where you select the file from the console window. I once wrote a little program that does that, but only to lower level directories. If I were to use a command-line thing, it i did

Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
On 8/1/07, Dave LeCompte (really) [EMAIL PROTECTED] wrote: Ian Mallett [EMAIL PROTECTED] wrote: To everyone: pgu works to select the file. There are, however, a few glitches, like the first directory on the highest level is not listed. I was also hoping for something like a popup

Re: [pygame] Select a File...

2007-08-01 Thread Dave LeCompte (really)
Ian Mallett [EMAIL PROTECTED] wrote: To everyone: pgu works to select the file. There are, however, a few glitches, like the first directory on the highest level is not listed. I was also hoping for something like a popup window. Any program with a 'open' function has EXACTLY what I want.

Re: [pygame] Static Noise in the Music

2007-08-01 Thread Ian Mallett
NOTE: there is currently a bug on some windows machines which makes sound play back 'scratchy'. There is not enough cpu in the sound thread to feed the buffer to the sound api. To get around this you can increase the buffer size. However this means that there is more of a delay between the time

Re: [pygame] Select a File...

2007-08-01 Thread Brian Fisher
On 8/1/07, Ian Mallett [EMAIL PROTECTED] wrote: Go to Microsoft Word. Go to File-Open. The window that opens is what I want. You should try to make your game in Microsoft Word then. Use macros. It will be hot. I tried it, but it didn't work. I didn't spend too much time with it, though.

Re: [pygame] Select a File...

2007-08-01 Thread Laura Creighton
pgu was written by Phil Hassey. One day he decided he would like to have a file picker, and he just wrote it using pygame. So there is nothing magical about this, it is just hard work. And the nice thing is that he released all his code to us, so we can read it, and learn to do things like

Re: [pygame] py2exe / OpenGL Build Trouble

2007-08-01 Thread Kris Schnee
Dave LeCompte (really) wrote: Kris Schnee [EMAIL PROTECTED] wrote I just built an EXE using Pygame and PyOpenGL, and the EXE crashes with this message: I think it depends on what version of PyOpenGL and Py2EXE you have installed - the documentation here seems to think it's no longer a

Re: [pygame] Select a File...

2007-08-01 Thread Greg Ewing
Ian Mallett wrote: I don't know how to make code to make it go one directory higher. To do this for the actual current directory for the process, import os os.chdir(os.pardir) But if you're implementing a graphical file chooser, you probably don't want to change the cwd, but just keep

Re: [pygame] Select a File...

2007-08-01 Thread Jason Coggins
What is the link to the archive of past messages in this user group? Jason - Original Message - From: Luke Paireepinart [EMAIL PROTECTED] To: pygame-users@seul.org Sent: Tuesday, July 31, 2007 11:13 PM Subject: Re: [pygame] Select a File... Ian Mallett wrote: I think you want

Re: [pygame] Select a File...

2007-08-01 Thread Laura Creighton
In a message of Wed, 01 Aug 2007 21:52:27 EDT, Jason Coggins writes: What is the link to the archive of past messages in this user group? Jason http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/pygame-users Laura

Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
My current plan for this is to open the window as a new subprocess and use it to load or save a file. I'm making a player for audio files for fun, but I might use the same code later for something else. Ian

Re: [pygame] Select a File...

2007-08-01 Thread Luke Paireepinart
Ian Mallett wrote: I'm going to try using wxPython because the demo seems to be precisely what I want. Are you using this for a game or what?

Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
I'm going to try using wxPython because the demo seems to be precisely what I want.

Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
I've got the basic file opener window, but it launches from a panel with a button on it just as in the demo. I've tried various things to only have the filedialog, but it always crashes. Same for the the save window. Ian import os import wx wildcard = .WAV Audio (*.wav)|*.wav|\ .OGG

Re: [pygame] Select a File...

2007-08-01 Thread Ian Mallett
There's a wxPython list? I'll ask this question there then. On 8/1/07, Luke Paireepinart [EMAIL PROTECTED] wrote: Ian Mallett wrote: I've got the basic file opener window, but it launches from a panel with a button on it just as in the demo. I've tried various things to only have the

Re: [pygame] Select a File...

2007-08-01 Thread Luke Paireepinart
Ian Mallett wrote: I've got the basic file opener window, but it launches from a panel with a button on it just as in the demo. I've tried various things to only have the filedialog, but it always crashes. Same for the the save window. Ian So why are you asking us on the Pygame list