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 @@ -40,7 +40,7 @@ Executable Python Scripts
40
40
On BSD&
923C
#39;ish Unix systems, Python scripts can be made directly executable, like
41
41
shell scripts, by putting the line ::
42
42
43
- #!/usr/bin/env python3.5
43
+ #!/usr/bin/env python3
44
44
45
45
(assuming that the interpreter is on the user's :envvar: `PATH `) at the beginning
46
46
of the script and giving the file an executable mode. The ``#! `` must be the
@@ -107,7 +107,7 @@ of your user site-packages directory. Start Python and run this code::
107
107
108
108
>>> import site
109
109
>>> site.getusersitepackages()
110
- '/home/user/.local/lib/python3.5 /site-packages'
110
+ '/home/user/.local/lib/python3.x /site-packages'
111
111
112
112
Now you can create a file named :file: `usercustomize.py ` in that directory and
113
113
put 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