converting to string

Ajay abra9823 at mail.usyd.edu.au
Wed Aug 4 02:13:15 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 thate efficient? is that the best way to do it?

thanks

cheers

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





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Python-list mailing list