converting to string

Ajay Brar abra9823 at mail.usyd.edu.au
Wed Aug 4 03:03:10 EDT 2004


hi!

how do i go about converting a Python object or tuple to a string.
i am currently doing
import cPickle as pickle
str = pickle.dumps(obj)

is that efficient? is that the best way to do it?

thanks

cheers

-- 
Ajay Brar
CS Honours 2004
Smart Internet Technology Research Group

http://www.it.usyd.edu.au/~abrar1




More information about the Python-list mailing list