从julia调用python模块

nik*_*nth 3 python julia

我试图使用PyCall包中的@pyimport宏从Julia中的当前目录调用myfile.py文件中的一组python模块.我不太确定如何使用PyCall函数来执行此操作.

Dan*_*egh 5

https://github.com/stevengj/PyCall.jl的自述文件中说明,您可以执行unshift!(PyVector(pyimport("sys")["path"]), "")以将当前目录添加到搜索路径.