What version of python is running a script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fernando Rodríguez

    #1

    What version of python is running a script


    Hi,

    How can my script tell which version of python is running it?

    Thanks


  • Juho Schultz

    #2
    Re: What version of python is running a script

    Fernando Rodríguez wrote:[color=blue]
    >
    > Hi,
    >
    > How can my script tell which version of python is running it?
    >
    > Thanks
    >
    >[/color]

    import sys
    # examine these variables
    sys.version_inf o
    sys.version

    Comment

    • Cameron Laird

      #3
      Re: What version of python is running a script

      In article <a33bd841ffe78c 81017243bdd70@n ews.supernews.c om>,
      Fernando Rodríguez <frr@easyjob.ne t> wrote:[color=blue]
      >
      >Hi,
      >
      >How can my script tell which version of python is running it?[/color]

      Comment

      Working...