Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
> What's wrong with:
>
> from StringIO import StringIO
> buf = StringIO('hello')The other functions in the module aren't available then. E.g. from random import random x = random() y = random.choice((1,2,3)) # oops -- http://mail.python.org/mailman/listinfo/python-list
