Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 JCC 为 Java 库创建 Python 包装器,并且我需要覆盖 Python 脚本中 Java 类的方法。可能吗?如果可能的话,你怎么能做到这一点?
您可以在 Python 中创建一个调用 Java 类的代理类。然后在代理类上,您可以覆盖您需要的任何内容。