ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

2008-08-14 Thread Dudeja, Rajat
Hi,

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?

Also, please direct me to a good and short document on using Tkinter or
Tk in Python.

Cheers,
Rajat



Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged, company confidential and/or exempt from disclosure under applicable 
law. If the reader is not the intended recipient or agent responsible for 
delivering the message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If this communication has been transmitted from a U.S. location it 
may also contain data subject to the International Traffic in Arms Regulations 
or U.S. Export Administration Regulations and cannot be disseminated, 
distributed or copied to foreign nationals, residing in the U.S. or abroad, 
without the prior approval of the U.S. Department of State or appropriate 
export licensing authority. If you have received this communication in error, 
please notify the sender by reply e-mail or collect telephone call and de!
 lete or destroy all copies of this e-mail message, any physical copies made of 
this e-mail message and/or any file attachment(s).


--
http://mail.python.org/mailman/listinfo/python-list


Re: ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

2008-08-14 Thread Larry Bates

Dudeja, Rajat wrote:

Hi,

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?

Also, please direct me to a good and short document on using Tkinter or
Tk in Python.

Cheers,
Rajat



Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged, company confidential and/or exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If this communication has been transmitted from a U.S. location it may also contain data subject to the International Traffic in Arms Regulations or U.S. Export Administration Regulations and cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, without the prior approval of the U.S. Department of State or appropriate export licensing authority. If you have received this communication in error, please notify the sender by reply e-mail or collect telephone call and 

delete or destroy all copies of this e-mail message, any physical copies made 
of this e-mail message and/or any file attachment(s).





NOTE: Please begin your posts with what platform (Linux/Mac/Windows) you are 
running on so we can answer your questions better.


From ActiveState's webpage:

All platforms

* Tcl/Tk 8.4.14 and Tix 8.4.2 upgrades.

It is certainly on my machine which is Windows ActiveState install.  You better 
check again.


If you are on Windows, you can use py2exe to package up your program and you 
won't have to have Python/Tk installation.


First hit on Google is: http://wiki.python.org/moin/TkInter

-Larry

-Larry
--
http://mail.python.org/mailman/listinfo/python-list


Re: ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

2008-08-14 Thread Russell E. Owen
In article [EMAIL PROTECTED],
 Dudeja, Rajat [EMAIL PROTECTED] wrote:

 Hi,
 
 So, now I've finally started using Eclipse and PyDev as an IDE for my
 GUI Application. I just wrote some sample programs as an hands on.
 
 Now I would like to take up Tkinter. I'm using Active State Python
 version 2.5 and found that there is not Tkinter and Tk module in it.
 
 To use Tkinter do I actually require Tk installed on my machine? Please
 suggest and where can I find both these modules?
 
 Also, please direct me to a good and short document on using Tkinter or
 Tk in Python.

What operating system?

For MacOS X this should not happen because Tcl/Tk is already available. 
But the best Python for MacOS X is the binary installer from python.org 
and the best Tcl/Tk is ActiveState version 8.4.19 (the Tcl/Tk that comes 
with MacOS X 10.4 and 10.5 is rather old and buggy).

For Windows: the standard python.org binary Python includes its own 
Tcl/Tk. So the simplest solution is to use that. I know nothing about 
ActiveState's Python for Windows but it is possible that it requires 
ActiveState Tcl/Tk to use Tkinter.

For unix: I'm not sure about ActiveState and unix. But the standard 
package installer that comes with your unix should offer tcl/tk, python 
and _tkinter (possibly as 3 separate packages, possibly not) and at 
least tcl/tk and python should be installed by default.

In general ActiveState puts out a very nice Tcl/Tk installer that 
includes many useful extra packages. But I've never seen the point to 
ActiveState's Python installer. When I last tried it, their Python was 
missing readline and did not add any useful packages to the standard 
python.org version.

For info on Tkinter: http://wiki.python.org/moin/TkInter

-- Russell

P.S. if you do install Tcl/Tk to use with Tkinter, please use 8.4.x, NOT 
8.5. Python 2.5.x is not fully compatible with Tcl/Tk 8.5.
--
http://mail.python.org/mailman/listinfo/python-list


Re: ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

2008-08-14 Thread Guilherme Polo
On Thu, Aug 14, 2008 at 1:20 PM, Russell E. Owen [EMAIL PROTECTED] wrote:
 In article [EMAIL PROTECTED],
  Dudeja, Rajat [EMAIL PROTECTED] wrote:

 Hi,

 So, now I've finally started using Eclipse and PyDev as an IDE for my
 GUI Application. I just wrote some sample programs as an hands on.

 Now I would like to take up Tkinter. I'm using Active State Python
 version 2.5 and found that there is not Tkinter and Tk module in it.

 To use Tkinter do I actually require Tk installed on my machine? Please
 suggest and where can I find both these modules?

 Also, please direct me to a good and short document on using Tkinter or
 Tk in Python.

 What operating system?

 For MacOS X this should not happen because Tcl/Tk is already available.
 But the best Python for MacOS X is the binary installer from python.org
 and the best Tcl/Tk is ActiveState version 8.4.19 (the Tcl/Tk that comes
 with MacOS X 10.4 and 10.5 is rather old and buggy).

 For Windows: the standard python.org binary Python includes its own
 Tcl/Tk. So the simplest solution is to use that. I know nothing about
 ActiveState's Python for Windows but it is possible that it requires
 ActiveState Tcl/Tk to use Tkinter.

 For unix: I'm not sure about ActiveState and unix. But the standard
 package installer that comes with your unix should offer tcl/tk, python
 and _tkinter (possibly as 3 separate packages, possibly not) and at
 least tcl/tk and python should be installed by default.

 In general ActiveState puts out a very nice Tcl/Tk installer that
 includes many useful extra packages. But I've never seen the point to
 ActiveState's Python installer. When I last tried it, their Python was
 missing readline and did not add any useful packages to the standard
 python.org version.

 For info on Tkinter: http://wiki.python.org/moin/TkInter

 -- Russell

 P.S. if you do install Tcl/Tk to use with Tkinter, please use 8.4.x, NOT
 8.5. Python 2.5.x is not fully compatible with Tcl/Tk 8.5.

Could you clarify what you mean when you say not fully compatible
with Tcl/Tk 8.5 ?

 --
 http://mail.python.org/mailman/listinfo/python-list




-- 
-- Guilherme H. Polo Goncalves
--
http://mail.python.org/mailman/listinfo/python-list


Re: ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

2008-08-14 Thread Trent Mick

Dudeja, Rajat wrote:

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?


As was mentioned by others, ActivePython *does* include Tkinter/Tk/Tix 
support in all builds. One exception is that the Tkinter in ActivePython 
**on Mac OS X-only** depends on a separate install of either ActiveTcl 
or TclTkAqua to provide the Tk framework.


Cheers,
Trent

--
Trent Mick
trentm at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list