------------------------------------------ ... but this doesn't seem to work. The value that Python returns is:
'@\x19\x01\x00' but I know from similar code in Matlab that the correct sequence is: 64 25 1 0 Can someone point out my error? ------------------------------------------ That looks like the same thing to me. The ascii code for '@' is 64... hex 19 = decimal 25 Why do you think there is a problem? Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
