On Oct 24, 2007, at 4:23 PM, Facundo Batista wrote: > There (and always talking in windows), the OP says the in Py2.4 > os.path.exists("nul") returned True and now in 2.5 returns False. Note > that "nul" is an special file, something like /dev/null.
It's special, but in a different way. /dev/null really exists in the Unix filesystem; "nul" is more magical than that. What's more, it has peers: "prn", "com1" and others like that. I don't know what the right way to handle these is (I'm no Windows guru, or even regular user), but it's important to realize that the pain of the specialness isn't limited. :-) -Fred -- Fred Drake <fdrake at acm.org> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com