简体   繁体   中英

Calling python modules from julia

I am trying to call a set of python modules from a myfile.py file from the current directory in Julia using @pyimport macro from PyCall package. I am not very sure how to use the PyCall functions to do this.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM