Skip to content

Commit e2d5c8a

Browse files
committed
Get path for site-package
1 parent 8750c1a commit e2d5c8a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Python.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ Then in your code:
123123
import ipdb; ipdb.set_trace()
124124
----
125125

126+
=== Getting site-package path
127+
128+
[source,python,linenums]
129+
----
130+
from distutils.sysconfig import get_python_lib
131+
132+
133+
print(get_python_lib())
134+
----
135+
126136
=== Generating SSH key pairs on file system
127137

128138
Requirement: Pycrypto.

0 commit comments

Comments
 (0)