create shell history with python

Joel Juvenal Rivera Rivera joelriv at gmail.com
Tue Aug 11 18:18:55 EDT 2009


Wow i didn't  know that module this solves everything... i guess python
has a lot more  batteries than i thought .
Thank you Chris

El mar, 11-08-2009 a las 18:15 -0400, Chris Rebert escribió:
> 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




More information about the Python-list mailing list