mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
33 lines
703 B
ReStructuredText
33 lines
703 B
ReStructuredText
Picking an Interpreter
|
|
======================
|
|
|
|
Which Python to use?
|
|
|
|
|
|
2.x vs 3.x
|
|
~~~~~~~~~~
|
|
|
|
**tl;dr**: Python 2.x is the status quo, Python 3.x is the shiny new thing.
|
|
|
|
|
|
`Further Reading <http://wiki.python.org/moin/Python2orPython3>`_
|
|
|
|
|
|
Today
|
|
-----
|
|
|
|
If you're choosing a Python interpreter to use, I *highly* recommend you Use Python 2.7.x, unless you have a strong reason not to.
|
|
|
|
|
|
The Future
|
|
----------
|
|
|
|
As more and more modules get ported over to Python3, the easier it will be for
|
|
others to use it.
|
|
|
|
|
|
Which Python to Support?
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
If you're starting work on a new Python module, I recommend you write it for
|
|
Python 2.5 or 2.6, and add support for Python3 in a later iteration. |