File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Executable Python Scripts
62
62
On BSD'ish Unix systems, Python scripts can be made directly executable, like
63
63
shell scripts, by putting the line ::
64
64
65
- #!/usr/bin/env python3.5
65
+ #!/usr/bin/env python3
66
66
67
67
(assuming that the interpreter is on the user's :envvar: `PATH `) at the beginning
68
68
of 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::
129
129
130
130
>>> import site
131
131
>>> site.getusersitepackages()
132
- '/home/user/.local/lib/python3.5 /site-packages'
132
+ '/home/user/.local/lib/python3.x /site-packages'
133
133
134
134
Now you can create a file named :file: `usercustomize.py ` in that directory and
135
135
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