获取 python 包的路径,,root@ostac
获取 python 包的路径,,root@ostac
root@ostack01:~# pythonPython 2.7.12 (default, Nov 19 2018, 06:48:02) [GCC 5.4.0 20160609] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import yaml>>> yaml.__file__‘/usr/local/lib/python2.7/dist-packages/yaml/__init__.pyc‘
获取 python 包的路径
评论关闭