coverting numbers to strings

Z 3 Penguin z3penguin at penguinpowered.com
Sat May 27 20:03:33 EDT 2000


i want to convert an integer to a string contaning the bytes for that value,
i.e

> a=300
> b= func(a)
> for i in len(b):
...    print ord(b[i])
...
1
44
>


--
-----
Z 3 Penguin
z3p at z3penguin.org

  ()
  (o_
  //\
<-\_/

This is a virus that works on the honor system.  Send this .sig to everyone
in your address book and randomly delete some of your files.




More information about the Python-list mailing list