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 __name__ == "__main__": main()
File "C:\dev\Python24\Projects\Pygame Programs\Music Player.py",
line 12, in main
gui.FileDialog()
File "C:\dev\Python24\Lib\site-packages\pgu\gui\dialog.py", line 82,
in __init__
self.dir_img = basic.Image(app.App.app.theme.get(cls1+'.folder',
'', 'image'))
AttributeError: class App has no attribute 'app'
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 that.)