how to tell the version of tk shipped with Python

Discussion in 'Python' started by pipehappy@gmail.com, Dec 29, 2005.

  1. Guest

    I am a newbie to the Python and wonder how I can know version of tk
    bound with Python

    Can some one tell me?

    Thanks
     
    , Dec 29, 2005
    #1
    1. Advertising

  2. wrote:

    > I am a newbie to the Python and wonder how I can know version of tk
    > bound with Python
    >
    > Can some one tell me?


    >>> import Tkinter
    >>> print Tkinter.TclVersion

    8.4

    </F>
     
    Fredrik Lundh, Dec 29, 2005
    #2
    1. Advertising

  3. In article <>,
    Fredrik Lundh <> wrote:
    > wrote:
    >
    >> I am a newbie to the Python and wonder how I can know version of tk
    >> bound with Python
    >>
    >> Can some one tell me?

    >
    >>>> import Tkinter
    >>>> print Tkinter.TclVersion

    >8.4
    >
    ></F>
    >
    >
    >


    .... and, if you need more detail,

    >>> print Tkinter.TkVersion

    8.4
    >>> Tkinter.Tk().tk.eval("info patchlevel")

    '8.4.7'
    >>> print Tkinter.__version__

    $Revision: 1.177 $
     
    Cameron Laird, Dec 29, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rolf Hemmerling
    Replies:
    3
    Views:
    948
    tom_usenet
    Oct 10, 2003
  2. V Green
    Replies:
    0
    Views:
    874
    V Green
    Feb 5, 2008
  3. PA Bear [MS MVP]
    Replies:
    0
    Views:
    987
    PA Bear [MS MVP]
    Feb 5, 2008
  4. Larry Hastings
    Replies:
    0
    Views:
    216
    Larry Hastings
    Mar 8, 2011
  5. Intransition
    Replies:
    3
    Views:
    123
    Lucas Nussbaum
    Oct 1, 2010
Loading...

Share This Page