Python 2.5: IO module
I would like to use Python's IO module. It was only introduced in Python 2.6 and I'm stuck with 2.5 for now. Is the particular IO module provided with Python 2.6 available as a开发者_如何学Python separate module that can be used with 2.5?
The IO module has undergone a number of significant revisions since it was introduced. For Python 2.7 and 3.1, it was supplemented by a much faster C version and many bugs have been fixed. As far as I know, no one has attempted to back port the current version to 2.5. Unfortunately, your best bet is to use 2.7.
精彩评论