File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Executable Python Scripts
6262On BSD'ish Unix systems, Python scripts can be made directly executable, like
6363shell scripts, by putting the line ::
6464
65- #!/usr/bin/env python3.5
65+ #!/usr/bin/env python3
6666
6767(assuming that the interpreter is on the user's :envvar: `PATH `) at the beginning
6868of the script and giving the file an executable mode. The ``#! `` must be the
@@ -129,7 +129,7 @@ of your user site-packages directory. Start Python and run this code::
129129
130130 >>> import site
131131 >>> site.getusersitepackages()
132- '/home/user/.local/lib/python3.5 /site-packages'
132+ '/home/user/.local/lib/python3.x /site-packages'
133133
134134Now you can create a file named :file: `usercustomize.py ` in that directory and
135135put anything you want in it. It will affect every invocation of Python, unless
You can’t perform that action at this time.
0 commit comments