gert wohlgemuth wrote: > Hi, > > I'm used to java byte arrays (byte[]) and need the same type in python, > cause we have a couple of established web services, which return a byte[] or > take a byte[] as parameter. > > As anybody an idea how I can do this in python?
A string can be used as a byte array. The struct module can help if you need to pack and unpack binary values into a string. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor