[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-cpp-sig
Subject:    Re: [C++-sig] How to configure makefile for
From:       Wichert Akkerman <wichert () wiggy ! net>
Date:       2011-10-06 15:22:04
Message-ID: 4E8DC79C.3030202 () wiggy ! net
[Download RAW message or body]

On 10/06/2011 05:17 PM, David Aldrich wrote:
>   >  sys.version_info
>
> How would I get that from the command line please?

python -c "import sys; print '%d.%d' % sys.version_info[:2]"

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic