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 would have to
be able to access top-directory files. I don't know how to do that.
I
In a message of Tue, 31 Jul 2007 12:52:15 PDT, Ian Mallett writes:
By command-line I mean something where you select the file from the conso
le
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 would have
to
be
I think you want the file picker from here:
http://www.imitationpickles.org/pgu/docs/gui.dialog.html
Laura
OK, but gui.FileDialog() gives
Traceback (most recent call last):
File C:\dev\Python24\Projects\Pygame Programs\Music Player.py, line 19,
in ?
if __name__ == __main__: main()
Ian Mallett wrote:
I think you want the file picker from here:
http://www.imitationpickles.org/pgu/docs/gui.dialog.html
Laura
OK, but gui.FileDialog() gives
Traceback (most recent call last):
File C:\dev\Python24\Projects\Pygame Programs\Music Player.py,
line 19, in ?
if
On 7/31/07, Luke Paireepinart [EMAIL PROTECTED] wrote:
That's a link to docs about Phil Hassey's PyGameUtilities (PGU)
It's a GUI you use through pygame, but it's an external package (You
have to download/install it, but you could
include it with your game/program assuming the license allows
Maybe try using
import pgu
Does the example work?
On 8/1/07, Ian Mallett [EMAIL PROTECTED] wrote:
On 7/31/07, Luke Paireepinart [EMAIL PROTECTED] wrote:
That's a link to docs about Phil Hassey's PyGameUtilities (PGU)
It's a GUI you use through pygame, but it's an external package (You
import pgu works. I'll look into example functionality.
Tutorial 1 work in python shell. The magic line appears to be from pgu
import gui
title = gui.Label(My Title)
main = gui.Container()
#add stuff to the container...
d = gui.FileDialog(title,main)
d.open()
...doesn't crash, but I don't see anything, just a print: gui.widget:
creating an App
This example shows you how to use the file dialog.
examples/gui12.py
cheers,
On 8/1/07, René Dudfield [EMAIL PROTECTED] wrote:
Hi,
check out the examples directory that comes with the download pgu download.
You need an App class.
Kind of like this...
from pgu import gui
app =
Hi,
check out the examples directory that comes with the download pgu download.
You need an App class.
Kind of like this...
from pgu import gui
app = gui.App()
e = gui.Button(Hello World)
app.run(e)
Check out the examples/gui*.py files for more.
Cheers,
On 8/1/07, Ian Mallett [EMAIL
Excellent. That's perfect! My thanks!
Ian
On 7/31/07, René Dudfield [EMAIL PROTECTED] wrote:
This example shows you how to use the file dialog.
examples/gui12.py
cheers,
On 8/1/07, René Dudfield [EMAIL PROTECTED] wrote:
Hi,
check out the examples directory that comes with the
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
would have to be able to access top-directory files. I don't
Well, that's good, then, because we decided not to use it. I'll keep that
in mind for future programs, though.
On 7/31/07, altern [EMAIL PROTECTED] 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
14 matches
Mail list logo