delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/21:35:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 7 May 2001 21:26:16 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: Georges Mertens <georges_mertens AT hotmail DOT com>
Cc: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: question
Message-ID: <20010507212616.B1659@dothill.com>
Mail-Followup-To: Georges Mertens <georges_mertens AT hotmail DOT com>,
Cygwin <cygwin AT sources DOT redhat DOT com>
References: <F121WMJ69ik6kvXsn2Y00003c75 AT hotmail DOT com>
Mime-Version: 1.0
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 DOT Tishler AT dothill DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019