Hi..
How to connect Python with Java.
This is my Python program. i use jpype to connect Python with Java.
Code: ( text )
1.
from jpype import *
2.
startJVM("d:/Program Files/Java/jdk1.6.0/jre/bin/client/jvm.dll","-ea")
3.
jnavClass = JClass("Semanti c")
4.
jnav = jnavClass()
5....
User Profile
Collapse
-
how to connect python with java?
-
Python + Java
Hi..
How to connect Python with Java.
This is my Python program. i use jpype to connect Python with Java.
and this is my...Code:from jpype import * startJVM("d:/Program Files/Java/jdk1.6.0/jre/bin/client/jvm.dll","-ea") jnavClass = JClass("Semantic") jnav = jnavClass() jnavClass.pilih_ayat("i go to school") shutdownJVM() -
Find the text of a newspaper web site.
Hai..
How to find text of a newpaper web site? -
Windows = XP
Python 2.5
Editor = IDLE -
thanks..it's work :-)
but why i cannot add more than 1 value in wordsList?
example :
[code=Python] words = [(word[0:],id[0:]) for(word,id,fre q,indeks) in cursor.fetchall ()][/code]
error :
words = [(word[0:],id[0:]) for(word,id,fre q,indeks) in cursor.fetchall ()]
TypeError: 'long' object is unsubscriptableLeave a comment:
-
looping list?
hi..
i'm trying to insert value into list according to the key (ASCII) that i generate..
example :
win = 95, so must insert into list[95]
and = 70, so must insert into list[70]
this is my coding..
_______________ _______________ _______________ _______________ ______
list = []
try:
conn = MySQLdb.connect (host = "localhost" ,
... -
Convert String to ASCII?
hi..
Convert String to ASCII?
example :
A to 65
B to 66
thanks.. -
generate key?
how to generate key,when i use hash function.. have to use any formula? or automatic? -
linked list?
hi,
i want to stored data element (string) in linked list..
how to build linked list on python? any idea? -
thank you for your help.. but i want to build hash tables.....Leave a comment:
-
how to build hash tables?
Hi,
first, i'm new with python.. so,i need a help..
ok,i have a dictionary with many keys. this is a simple example.
dict = { was : [ (2,1) ],
a : [ (3,4) , (4,7) ],
and : [ (1,7) ] }
I want to hashing the dict value to the hash table. for example,
hash "was" == was --> 2,1
hash "a" == a --> 3,4 -->4,7
... -
-
How to integrate Python 2.5 with the JNI used Jpype?
hi all...
actually i want to used Apple Pie Parser in Python...
so,i decide to used jpype to integrating Python with the JNI class in Java..
it is possible?
i need any suggestion?
tq.. -
Tool for cleaning html..
Hai..
Please tell me a tool to clean up html files for Python..
No activity results to display
Show More
Leave a comment: