Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 7 May 2001 21:26:16 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
To: Georges Mertens <georges_mertens@hotmail.com>
Cc: Cygwin <cygwin@sources.redhat.com>
Subject: Re: question
Message-ID: <20010507212616.B1659@dothill.com>
Mail-Followup-To: Georges Mertens <georges_mertens@hotmail.com>,
	Cygwin <cygwin@sources.redhat.com>
References: <F121WMJ69ik6kvXsn2Y00003c75@hotmail.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="9koK8aStSqgVRjJM"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <F121WMJ69ik6kvXsn2Y00003c75@hotmail.com>; from georges_mertens@hotmail.com on Mon, May 07, 2001 at 09:19:52PM +0000
Organization: Dot Hill Systems Corp.

--9koK8aStSqgVRjJM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Georges,

On Mon, May 07, 2001 at 09:19:52PM +0000, Georges Mertens wrote:
> Thank you for providing Python under Cygwin.

Your very welcome.  However, in the future please post to the Cygwin or
Python mailing list, as appropriate, instead of sending private email
so others can benefit too.

> However, I experienced sone problems :
> 
> 	- How to activate the readline.dll you provide to use it on the Python 
> commandline '>>>'?

If you do not already have a .pythonrc.py file, then save the attached
file in your home directory.  Otherwise, append it to your .pythonrc.py
file.  Then restart Python, readline will now be enabled.

> 	- You provide Tkinter as well, but my script is looking for '_tkinter'. 

My Cygwin Python distribution does *not* currently support Tkinter.

> Where can it find it?

Try searching the Cygwin mailing list archives:

    http://cygwin.com/ml/cygwin/

You will find that others have built Cygwin Python that supports Tkinter.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--9koK8aStSqgVRjJM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=".pythonrc.py"

try:
	import readline
except ImportError:
	print "Module readline not available."
else:
	import rlcompleter
	readline.parse_and_bind("tab: complete")

	import os
	histfile = os.path.join(os.environ["HOME"], ".python_history")
	try:
		readline.read_history_file(histfile)
	except IOError:
		pass
	import atexit
	atexit.register(readline.write_history_file, histfile)
	del os, histfile


--9koK8aStSqgVRjJM
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
--9koK8aStSqgVRjJM--
