PathGetter

A function that allows the user to enter a valid file path
Download

PathGetter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Joel Murielle
  • Publisher web site:
  • http://joel-murielle.perso.sfr.fr/

PathGetter Tags


PathGetter Description

A function that allows the user to enter a valid file path PathGetter 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.get(path='',mode=None) In a shell: python PathGetter ]mode = None ==> any pathmode = 1 ==> file pathmode = 2 ==> directory pathThe code is executed in a separated window using the subprocess module.Therefore, it's independent of the size of your window.See test.py for exampleThanks to Jouni Järvinen and spacemax for testing Requirements: · Python · pygame


PathGetter Related Software