El 06/02/2009, a las 15:19, Sergio Jovani escribió:

Hi,

Even it is not a Qt method, you can do it with os.path.normcase().

That function doesn't help at all, did you try it yourself?

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.path.exists(os.path.normcase(u"/C:/Documents and Settings"))
False
>>> os.path.exists(os.path.normcase(u"C:/Documents and Settings"))
True

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to