Paul Rubin a écrit : > 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
from random import random, choice x = random() y = choice((1, 2, 3)) -- http://mail.python.org/mailman/listinfo/python-list