calling java Packages from python...
Posted: 09 Mar 2008, 10:07
Hello,
I have done good reading the documentation so far, or searching the forums for most of my answers, but I can not find the answer to this one anywhere:
I read in http://www.smartfoxserver.com/docs/docP ... /index.htm and also in 8.7 Tutorials: using Java classes in Actionscript, that you can call java classes from Actionscript by referncing the Packages object.
I need to be able to do this in python.
I tried something like that, but just get name errors.
Please help me if you can. Otherwise, I have to handleInternalRequest from a python extension to a new java extension, and I have very little java experience, so making an extension work will be extremely hard that way. Calling a java class will be much easier for me if I can figure out how to do it in python.
Thank you everybody, and especially Lapo
I have done good reading the documentation so far, or searching the forums for most of my answers, but I can not find the answer to this one anywhere:
I read in http://www.smartfoxserver.com/docs/docP ... /index.htm and also in 8.7 Tutorials: using Java classes in Actionscript, that you can call java classes from Actionscript by referncing the Packages object.
I need to be able to do this in python.
Code: Select all
scheduler = Packages.it.gotoandplay.smartfoxserver.util.scheduling
Please help me if you can. Otherwise, I have to handleInternalRequest from a python extension to a new java extension, and I have very little java experience, so making an extension work will be extremely hard that way. Calling a java class will be much easier for me if I can figure out how to do it in python.
Thank you everybody, and especially Lapo