[Tutor] Python implementations
Ben Finney
ben+python at benfinney.id.au
Tue Mar 11 05:16:01 CET 2014
Scott W Dunning <swdunning at cox.net> writes:
> On Mar 10, 2014, at 8:52 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> >
> > What does the Python interactive prompt display when you first launch an
> > interactive Python shell?
>
> Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "copyright", "credits" or "license()" for more information.
Thanks. Yes, the clue is in the “[GCC …]”, which tells us the program
was built using that version of GCC, the GNU Compiler Collection. This
means it is implemented in the C programming language and is thus CPython.
Because Python implementations all follow the Python language
specification, this doesn't imply anything much for you as a user.
Regardless of which implementation you're using, you're still using
Python and have access to everything the documentation describes.
This is useful to know, though, when you learn about some of the more
peripheral capabilities present in one but not other implementations.
But all that can wait.
--
\ “I like my dental hygenist, I think she's very pretty; so when |
`\ I go to have my teeth cleaned, while I'm in the waiting room I |
_o__) eat an entire box of cookies.” —Steven Wright |
Ben Finney
More information about the Tutor
mailing list