[pygtk] Using file URIs.

Steve McClure smcclure at racemi.com
Sat Mar 7 04:22:39 WST 2009


On Mar 6, 2009, at 1:54 PM, Mats Taraldsvik wrote:

> Hi,
>
> When I use a FileChooser dialog, a list with uris to the files/folders
> is returned. I want to convert these uris to absolute paths, and  
> want to
> make this usable in Linux, Windows, Mac... What is the proper way to
> convert between uris and absolute paths?

Are you using FileChooser.get_uris()?  What if you use  
FileChooser.get_filenames() instead?

>
> Mats
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
>

--
Steve McClure
smcclure at racemi.com



More information about the pygtk mailing list