Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
508 views
in Technique[技术] by (71.8m points)

32bit 64bit - What does the Python version line mean?

What does the line that's displayed when you start an instance of the Python interpreter mean?

Python 2.7 (r27:82525, Jul  4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32

So I know I have Python 2.7, but what about the rest?

Especially confusing to me are the 64 bit (AMD64) on win32 and r27:82525 sections.

question from:https://stackoverflow.com/questions/17757819/what-does-the-python-version-line-mean

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

That line you see indicates how the python interpreter was built. Breaking it down:

Python 2.7                        -- Python version
(r27:82525, Jul 4 2010, 07:43:08) -- The build date and revision from src trunk 
                                     that was used to build this.
[MSC v.1500 64 bit (AMD64)]       -- Compiled with MSVC compiler targeting 64-bit
on win32                          -- Obviously for windows platform

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...