Java Integer.ParseInt translation to python

Richard Brodie R.Brodie at rl.ac.uk
Wed Feb 9 13:45:57 EST 2005


"John Machin" <sjmachin at lexicon.net> wrote in message
news:1107950708.037808.211570 at l41g2000cwc.googlegroups.com...

> jose isaias cabrera wrote:
> > > the question is, how can I make this java (byte) call in python? so
> that the
> > result would be the right one, "[B at 1616c7"

> However some Java code (I can't believe that it was the Java code that
> you posted) has printed NINE bytes which bear no relation that I can
> see to any of the TWENTY bytes that the posted Java code should have
> stowed in retBuf.

Well my Java is pretty rusty but I imagine the interpretation of that output
is "an array of bytes at address 1616c7". It doesn't actually matter what
the contents are.





More information about the Python-list mailing list