|
pygame is
pygame.org is
|
PathGetter
PathGetter - 6.0josmiley (josmiley)Tags:DescriptionThis is a function that allows the user to enter a valid file path like in a file browser. It returns a string. Browse with mouse or keyboard. It supports tab-completion. You can also display a resizable and rotatable image preview. Usage is very simple: In a python script: PathGetter(path='',mode=None,caption='Path Getter') mode = None ==> any path mode = 1 ==> file path mode = 2 ==> directory path The code is executed in a separated window using the subprocess module. Therefore, it's independent of the size of your window.
see example_pathgetter.py for example
thanks to Jouni Järvinen and spacemax for testing and optimization.
Changessome bugfixes and some changes LinksScreenshot click to view original size
Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
May 22, 2013
May 21, 2013
May 19, 2013
May 18, 2013
May 17, 2013
May 16, 2013
May 15, 2013
May 11, 2013
May 8, 2013
... more!
|
|