Skip to content

Commit 9164a1b

Browse files
committed
working with python 3
1 parent 7096c95 commit 9164a1b

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

docs/starting/install3/linux.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ If you're using another version of Ubuntu (e.g. the latest LTS release), we reco
2222
$ sudo apt-get update
2323
$ sudo apt-get install python3.6
2424

25+
Working with Python 3
26+
---------------------
27+
28+
At this point, you have the system Python 2.7 available, potentially the
29+
:ref:`Homebrew version of Python 2 <install-osx>` installed, and the Homebrew
30+
version of Python 3 as well.
31+
32+
.. code-block:: console
33+
34+
$ python
35+
36+
will launch the Python 2 interpreter.
37+
38+
.. code-block:: console
39+
40+
$ python3
41+
2542
2643
Setuptools & Pip
2744
----------------
@@ -59,6 +76,7 @@ To start using this and see more information: :ref:`Virtual Environments <virtua
5976
You can also use :ref:`virtualenvwrapper <virtualenvwrapper-ref>` to make it easier to
6077
manage your virtual environments.
6178

79+
6280
--------------------------------
6381

6482
This page is a remixed version of `another guide <http://www.stuartellis.eu/articles/python-development-windows/>`_,

docs/starting/install3/osx.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ will launch the Python 2 interpreter.
9090
9191
$ python3
9292
93-
will launch the Python 3 interpreter
93+
will launch the Python 3 interpreter.
9494

9595
``pip3`` and ``pip`` will both be available. If the Homebrew version of Python
9696
2 is not installed, they will be the same. If the Homebrew version of Python 2

docs/starting/install3/win.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,24 @@ described in the next section before you start building Python applications for
4141
real-world use. In particular, you should always install Setuptools, as it
4242
makes it much easier for you to use other third-party Python libraries.
4343

44+
Working with Python 3
45+
---------------------
46+
47+
At this point, you have the system Python 2.7 available, potentially the
48+
:ref:`Homebrew version of Python 2 <install-osx>` installed, and the Homebrew
49+
version of Python 3 as well.
50+
51+
.. code-block:: console
52+
53+
$ python
54+
55+
will launch the Python 2 interpreter.
56+
57+
.. code-block:: console
58+
59+
$ python3
60+
61+
4462
Setuptools + Pip
4563
----------------
4664

0 commit comments

Comments
 (0)