In article <[EMAIL PROTECTED]>,
Fernando Rodríguez  <[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>How can my script tell which version of python is running it?
                        .
                        .
                        .
  $ python
  Python 2.3.5 (#2, Aug 30 2005, 15:50:26) 
  [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import sys
  >>> print sys.version
  2.3.5 (#2, Aug 30 2005, 15:50:26) 
  [GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)]

'Does that make it clear?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to