![]() |
| ||
| Jython question I can't really seem to find a jython forum and this question is somewhere between a jython and a python question. I'm trying to get a java Scanner in python. So in java I say myInterpretter.exec("import java.util") and then in python I try and access jav.util.Scanner but it says java package 'java.util' has no attribute 'Scanner' but java.util.Scanner is correct for java. |
| ||
| Re: Jython question myInterpretter.exec("import java.util")Not too sure what you are trying to do here. You should be able to simply use: import java.util Jython is python with access to java packages. |
| ||
| Re: Jython question Also not sure but is not spelling of Interpreter is wrong?? |
| All times are GMT -4. The time now is 8:15 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC