@JonB said:
the built in modules come preloaded in the app library, not in docs. You can view these folders from the Standard Library in the file browser, or grab the name as you already did, then navigate there in stash. There is no direct way to get there from Documents, because of the way apple sandboxing works. Actually, we probsbly should open a pull request in stash to provide an environment variable to the library folder.
as for ripemd160.... are you doing an from xxx import *
?
Yep :)
If so, you can often expect issues with namespace clashes. Also, if you aborted an import,
Can you clarify this? Would
try:
from urllib import add_opener # python3
except ImportError:
from urllib2 import add_opener # python2
trigger the error?
that usually results in failure to import later, unless you restart pythonista. In the rare event that this is real, do
import pdb; pdb.pm()
to figure out what is trying to be called.
@JonB said:
the built in modules come preloaded in the app library, not in docs. You can view these folders from the Standard Library in the file browser, or grab the name as you already did, then navigate there in stash.
Forgive me if this is a basic question, but how do I go about this? Ie how do I use stash to navigate to the Std Library directory?
as for ripemd160.... are you doing an from xxx import *
? If so, you can often expect issues with namespace clashes. Also, if you aborted an import, that usually results in failure to import later, unless you restart pythonista. In the rare event that this is real, do
import pdb; pdb.pm()
to figure out what is trying to be called.