What version of python is running a script

Juho Schultz juho.schultz at helsinki.fi
Tue Mar 7 10:14:06 EST 2006


Fernando Rodríguez wrote:
> 
> Hi,
> 
> How can my script tell which version of python is running it?
> 
> Thanks
> 
> 

import sys
# examine these variables
sys.version_info
sys.version



More information about the Python-list mailing list