create shell history with python

Chris Rebert clp2 at rebertia.com
Wed Aug 12 00:15:02 CEST 2009


On Tue, Aug 11, 2009 at 6:09 PM, Joel Juvenal Rivera
Rivera<joelriv at gmail.com> wrote:
> I been thinking how to make a 'bash like history shell' in python,
> i don't know if with stdin and stdout i can accomplish this or do i
> need something like curses and stuff like that, anyway im start to
> figure this out.
> Does any body has try this? or have any interesting idea?

http://docs.python.org/library/readline.html

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list