the problem is I have no way to avoid using this: difflib.SequenceMatcher() 
in my code, and this causes an "in apply, expected Function, got PyObject"

I read two approaches that would work for a similar error in other 
situations here:https://github.com/stevengj/PyCall.jl/issues/51

however, I can't use either because they both require 
difflib.SequenceMatcher() to be called so that I can access the function. 
When I try to do it as is, I get the error:

type: mainLoop: in apply, expected Function, got PyObject

On the other hand, when I use difflib[:SequenceMatcher], I get:

'getindex` has no method matching getindex(::Module, ::Symbol)

I am particularly perplexed because in the very same file I am calling 
BeautifulSoup's soup[:find_all] function just fine. 

Is there something special about difflib.SequenceMatcher ? Or am I just 
missing something about all this?





Reply via email to