Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3766177
By: nobody
Hello,
Running the following code works when I run as Jython run.
from java.lang import Class
Class.forName("java.lang.String")
However, PyDev shows an error on the forName token which states "Undefined
variable
from import: forName". What does it mean?
The same message is shown for the sub token in this code aswell:
import re
print re.sub(r"P", "J", "Python")
It says "Undefined variable from import: sub".
I'm using PyDev 1.0.8.
Regards
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users