If I am looking at this package on pypi https://pypi.org/project/shamir-mnemonic/, how do I know what the module is called when I import it into my python code after I have installed it with pip3? I am not interested in using it with CLI
The first point to start would be the official documentation. If there is none, then check your site-packages directory to see if there is a folder there that seems related to the package. In your case, we can find a folder called shamir_mnemonic and indeed
python -c "import shamir_mnemonic"
suceeds.
If available, you can also look at the source code of the module
发布评论
评论(1)
第一点是官方文件。如果没有,请检查您的
站点包装
目录以查看是否有一个文件夹似乎与软件包有关。在您的情况下,我们可以找到一个称为shamir_mnemonic
的文件夹,并且确实是成功的。
如果有的话,您还可以查看模块的源代码
The first point to start would be the official documentation. If there is none, then check your
site-packages
directory to see if there is a folder there that seems related to the package. In your case, we can find a folder calledshamir_mnemonic
and indeedsuceeds.
If available, you can also look at the source code of the module