What does the Python version line mean?

后端 未结 2 472
半阙折子戏
半阙折子戏 2020-11-29 08:51

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

Python 2.7 (r27:8252         


        
2条回答
  •  余生分开走
    2020-11-29 09:34

    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
    

提交回复
热议问题