Where does the python startup text come from -


this question has answer here:

this question purely because of curiousity - when type python, see

$python python 2.7.9 (default, mar  1 2015, 12:56:24)  [gcc 4.9.2] on linux2 type "help", "copyright", "credits" or "license" more information. >>> 

where text coming - particularly (default, mar 1 2015, 12:57:24) , on linux 2?. rest self explanatory, , can find hints @ comes in file /usr/bin/python2.7-config

i tried touching /usr/bin/python2.7 , found out doesn't change time.

sorry if wrong place ask - if is, there anywhere else on stackexchange ask?

the first part comes py_getversion(), equivalent sys.version. in end, py_getbuildinfo() called, , appears gets information c macros __date__ , __time__. check out source more info.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -