greymausg greymaus at mail.com
Sat Feb 15 14:55:16 CET 2014

On 2014-02-15, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> On 15/02/2014 11:55, greymausg wrote:
>> using IPython, is there any way of recording the commands I have entered?
> I believe ipython automatically stores the commands you enter. 
> Searching for ipython+command+history should get you more detail than I 
> can offer :)

What I was thinking of is like a perl Module WWW::Mechanize::Shell,
which has a script included, "wwwshell.pl", which allows you to
enter commands to explore web sites, then enter "source x",
and it will save the commands you have used to a script, 'x'.
This can be run straight to do what you want, say scraping a 
web site. 


More information about the Python-list mailing list