Fabio Zadrozny wrote:
Well, I must say that the exec(open().read()) is not really a proper execfile implementation because it may fail because of encoding issues...
It's not far off, though -- all it needs is an optional encoding parameter. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com