I am researching julia's code.
https://github.com/JuliaPy/PyCall.jl/blob/master/src/PyCall....
I guess it is like this: Importing the pycall library is to turn on the python interpreter thread and not interrupt it. Then you can call any python library you want.