![]() |
|
#1
|
|||
|
|||
Pyhton and JavaHi !
I'm new to Python, and i want to use the following code to connect to a xmlrpc server for some inquiry, I wanna know if there is anything wrong with the code ? Shouln't it when run prints the server_url and then connected ? (it doesn't print any) Second can I activate and call this class from a java class using jython ???? or even pass a parameter from java class to this class ???? how could that be done using jython ???? Thanks in advance the code : ---------- Python Code:
Last edited by LuciWiz : 14-Jun-2006 at 00:31.
Reason: Please insert your Python code between [py] & [/py] tags
|
|||
|
#2
|
||||
|
||||
Re: Pyhton and JavaWell, I haven't learned Jython yet so I can't really answer your questions regarding that. However, you should be able to call it from Java w/ the right methods; I just don't know what they are.
Regarding the print problem, how are you running this module? Normally you could create a Python Code:
Python Code:
Take a look at the other Python modules I've posted in these forums; they should explain better what I mean. __________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The