TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pyjnius: Accessing Java classes from Python

61 点作者 txprog超过 12 年前

9 条评论

mahmoudimus超过 12 年前
This is pretty much a perfect example of when to leverage import hooks.
评论 #4409037 未加载
__mharrison__超过 12 年前
Interesting. It would be great to see some docs touching on pros/cons vs jython, jpype, etc<p>I for one am interested in keeping everything in cpython if possible. But I currently have a web service in jython...
tehansen超过 12 年前
Deocumentation: <a href="http://pyjnius.readthedocs.org/en/latest/index.html" rel="nofollow">http://pyjnius.readthedocs.org/en/latest/index.html</a>
评论 #4407965 未加载
jpdus超过 12 年前
Looks good!<p>Has anyone tried this for accessing a Java Socket API? (e.g. Interactive Brokers API) Im currently using Jython but would love to switch to "real" Python, unfortunately i am still a noob when it comes to get these things working..
评论 #4408443 未加载
jnazario超过 12 年前
what's wrong with JCC?<p><a href="http://lucene.apache.org/pylucene/jcc/index.html" rel="nofollow">http://lucene.apache.org/pylucene/jcc/index.html</a><p>i have used it a lot to generate JNI bindings for other code via a simple Makefile template (list JARs and packages, alter names and versions, and poof). it works quite often, but it does run into some wonky C++ code it can't quite figure out.<p>still, pretty easy. one example are some (work-private) mahout bindings.
3amOpsGuy超过 12 年前
Does this mean we now have a convenient way to speak JMX from python? That would be very handy!
kbd超过 12 年前
How are generics handled?
koenigdavidmj超过 12 年前
How does it handle the two types of exception?
评论 #4408734 未加载
bendemott超过 12 年前
Very promising, thanks for the great work!