You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python 3.5.1
Version 0.5.0-rc3+0 (2016-08-22 23:43 UTC)
In [11]: j.call("using Clustering")
WARNING: call(f,args...) is deprecated, use f(args...) instead.
in ##979#980(::Array{Any,1}, ::Function, ::String) at ./deprecated.jl:271
in (::Base.##979#981)(::String) at ./deprecated.jl:270
in jl_Function_call(::Ptr{PyCall.PyObject_struct}, ::Ptr{PyCall.PyObject_struct}, ::Ptr{PyCall.PyObject_struct}) at /home/nbecker/.julia/v0.5/PyCall/src/callback.jl:35
while loading no file, in expression starting on line 0
using Clustering is not a function, so you wouldn't use j.call anyway. I think you are thinking of j.eval to evaluate a string? But using seems to be better anyway.
Activity
nbecker commentedon Sep 8, 2016
It appears the current git version has a 'using' method:
j.using('DSP')
This seems to add all functions from the module to the 'j' python object
stevengj commentedon Sep 8, 2016
using Clusteringis not a function, so you wouldn't usej.callanyway. I think you are thinking ofj.evalto evaluate a string? Butusingseems to be better anyway.