Files
saresa/script/test/Loading.py
2021-04-28 10:08:19 +02:00

10 lines
257 B
Python

s=get_context().setup
s.expandPath("{plugins}/ScreenPanel4.class")
name=s.expandPath("{plugins}/ScreenPanel4.class")
import java.io.File as File
f=File(name)
f.exists()
f.getPath()
import ch.psi.utils.Loader as Loader
c=Loader.loadClass(f.getPath())
print c