This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: question
- To: Georges Mertens <georges_mertens at hotmail dot com>
- Subject: Re: question
- From: Jason Tishler <Jason dot Tishler at dothill dot com>
- Date: Mon, 7 May 2001 21:26:16 -0400
- Cc: Cygwin <cygwin at sources dot redhat dot com>
- Organization: Dot Hill Systems Corp.
- References: <F121WMJ69ik6kvXsn2Y00003c75@hotmail.com>
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
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
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple