version

Mike McClain mike.junk.46 at att.net
Fri Jun 1 11:02:27 EDT 2018


On Thu, May 31, 2018 at 07:44:35PM -0700, Mike McClain wrote:
<snip>
> Is there a way in a script to know which version of python is being
> run so I can write:
>     If (version == 2.7):
>         do it this way
>     elsif (version == 3.2):
>         do it another way
>

Thanks for the responses,
Mike
--
The depression won't end till we grow a generation that knows how to
live on what they got.
    - Will Rogers



More information about the Python-list mailing list