Gabriel Genellina wrote: > > ftxt=open(filename,"rt") Never seen that done before. It's not in the docs.
FWIW: Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> f = open('foo.txt', 'rt') >>> f = open('foo.txt', 'rs') >>> f = open('foo.txt', 'ratsdroppings') # Nary an exception raised, not the slightest murmur Is this a bug or a feature? Or is it one of those good old "unspecified behaviour" cases? MSVC rtl only? Cheers, John -- http://mail.python.org/mailman/listinfo/python-list