Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4800b8 commit ca94677Copy full SHA for ca94677
1 file changed
Doc/library/site.rst
@@ -236,6 +236,13 @@ Module contents
236
.. versionadded:: 3.2
237
238
239
+.. _site-commandline:
240
+
241
+Command Line Interface
242
+----------------------
243
244
+.. program:: site
245
246
The :mod:`site` module also provides a way to get the user directories from the
247
command line:
248
@@ -244,8 +251,6 @@ command line:
251
$ python3 -m site --user-site
252
/home/user/.local/lib/python3.3/site-packages
253
-.. program:: site
-
249
254
If it is called without arguments, it will print the contents of
250
255
:data:`sys.path` on the standard output, followed by the value of
256
:data:`USER_BASE` and whether the directory exists, then the same thing for
0 commit comments