470,848 Members | 2,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Re: Calling Java Class from python

En Wed, 16 Apr 2008 07:37:55 -0300, Good Z <go******@yahoo.comescribió:
We have developed a website in python and we need to integrate few features of third party website. They have provided us Base64EncoderDecoder Java Class and would like us to use it to encode the data before sending it to their site and decode it when received anything from their site.

I have no idea/knowledge of Java. Can you please guide me how can i call Java class from Python scripts? Or what is the best way to handle this condition.

Is Base64 library provided by python is compatible to Base64EncoderDecoder Java Class?
If the Java class implements Base64 as defined in RFC 3548, it should be compatible with the Python base64 module.
Try with some examples, including the corner cases (empty, one byte, two bytes, three bytes, length = 3n, 3n+1, 3n+2, including bytes outside the ASCII range...)

--
Gabriel Genellina

Jun 27 '08 #1
0 1034

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Raja | last post: by
4 posts views Thread by angel | last post: by
4 posts views Thread by Luis P. Mendes | last post: by
9 posts views Thread by F. GEIGER | last post: by
7 posts views Thread by Klaus Friese | last post: by
4 posts views Thread by simon | last post: by
12 posts views Thread by Mark Fink | last post: by
reply views Thread by Gabriel Genellina | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.