I've just checked in some enhancements to the fileinput module. * fileno() to check the current file descriptor * mode argument to allow opening in universal newline mode * openhook argument to allow transparent opening of compressed or encoded files.
Please feel free to comment. Cheers, Georg _______________________________________________ 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