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.
如何加载 jar 文件以在 Jython 中进行调试?
只需将 JAR 文件添加到 sys.path 即可。
import sys sys.path.append(r'C:\lib\guava-12.jar') from com.google.common.io import *
将它们添加到类路径中!
答案说明了一切;-)