How to use the OS's native file selector in Tkinter
Hi, I would like to use the native file selector of the "host OS" for the "Open File" function of my Python/Tkinter app. Could anyone tell me how to do this? My primary target platform is Windows. So a Windows-only solution would be ok (IIRC Linux doesn't even have a "native file selector"). copx -- http://mail.python.org/mailman/listinfo/python-list
Re: How to use the OS's native file selector in Tkinter
<[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Thank you! copx -- http://mail.python.org/mailman/listinfo/python-list
How to use 8bit character sets?
For some reason Python (on Windows) doesn't use the system's default character set and that's a serious problem for me. I need to process German textfiles (containing umlauts and other > 7bit ASCII characters) and generally work with strings which need to be processed using the local encoding (I need to display the text using a Tk-based GUI for example). The only solution I managed to find was converting between unicode and latin-1 all the time (the textfiles aren't unicode, the output of the program isn't supposed to be unicode either). Everything worked fine until I tried to run the program on a Windows 9x machine.. It seems that Python on Win9x doesn't really support unicode (IIRC Win9x doesn't have real unicode support so that's not suprising). Is it possible to tell Python to use an 8bit charset (latin-1 in my case) for textfile and string processing by default? copx -- http://mail.python.org/mailman/listinfo/python-list
Re: How to use 8bit character sets?
"Chris Curvey" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Check out sitecustomize.py. > > http://diveintopython.org/xml_processing/unicode.html Thanks but I'm looking for a way to do this on application level (i.e. I want my app to run in an unmodified interpreter enviroment). copx -- http://mail.python.org/mailman/listinfo/python-list
