473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

dumping command-history in python interactive mode

Hello,

is there a way to dump (and save) the command-history of the python
interactive mode.

Thanks,
Christoph Becker-Freyseng
Jul 18 '05 #1
3 6289
On Thu, 17 Jul 2003 23:40:22 -0700, Matt Gerrans wrote:
"Christoph Becker-Freyseng" wrote:
is there a way to dump (and save) the command-history of the python
interactive mode.


I always prefer IDLE over the console interactive mode, unless there
is some particular reason not to (like experimenting with TKinter, or
running in a non-GUI OS. What? Where you find such a thing these
days?!).


Any of millions of Unix (or GNU/Linux) servers around the world.
Running a GUI on a machine that won't have someone sitting in front of
it most of the time it's being used, is just bloat and is yet more code
to go wrong.

--
\ "The face of a child can say it all, especially the mouth part |
`\ of the face." -- Jack Handey |
_o__) |
http://bignose.squidly.org/ 9CFE12B0 791A4267 887F520C B7AC2E51 BD41714B
Jul 18 '05 #2
Christoph Becker-Freyseng <ch*******@mmc-startup.com> writes:
Hello,

is there a way to dump (and save) the command-history of the python
interactive mode.


Yes. Does

http://www.python.org/doc/current/tut/node13.html

help?

Cheers,
M.

--
42. You can measure a programmer's perspective by noting his
attitude on the continuing vitality of FORTRAN.
-- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
Jul 18 '05 #3
Take a look here

http://www.python.org/doc/tut/node13.html

Christoph Becker-Freyseng <ch*******@mmc-startup.com> wrote in message news:<ma**********************************@python. org>...
Hello,

is there a way to dump (and save) the command-history of the python
interactive mode.

Thanks,
Christoph Becker-Freyseng

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: NotGiven | last post by:
I have a db that I need to dump into a format that can be easily read my MS Access. I tried the dump with regular PHPAdmin. Then I used the dump to run a query in MS Access. Errors occurred...
6
by: Greg Brant | last post by:
Hi, how can i backup a table / entire DB and get the index's as well as the data / create table's etc cheers Greg
2
by: Victor Spång Arthursson | last post by:
Hi! Can't get the sudo -u user1 /usr/local/bin/pg_dump db1 | /usr/local/bin/psql -U user2 -h host2 db2 to work. Only thing that happens is that I get multiple passwordprompts, and
10
by: ken | last post by:
hello, i'm writing a c program on a linux system. i'm debugging a segmentation fault but i don't want it to dump a core file because the memory footprint of the program is over 300Mb and i don't...
3
by: noleander | last post by:
My Vis C++ program takes forever to exit. Reason: it is dumping potential memory leaks. I like finding leaks once a month, but not every time I run. How do I turn mem leak dumping off? I...
1
by: raptor | last post by:
How to DUMP the Database schema, (so later can get it back i.e recreate everything). I need only the schema (tables, users, groups etc..) now (not the data, is it any different if i want the data...
3
by: stig erikson | last post by:
Hi. Is it possible to dump a database on a 7.4.6 server and then restore it on a 7.4.1 server? should i use the 7.4.1 pg_dump or the 7.4.6 pg_dump? should i use any switches? thanks
1
by: lawrence k | last post by:
I'm trying to figure out how to export info from a Mysql database, using PHP to manage the export, as phpMyAdmin manages to do. I'm guessing I need to run a shell script that looks like this: ...
7
by: gomzi | last post by:
hi, I would like to know the command for dumping stored procedures. Thought that I knew the command and dumped the db using the -R option, only to realise that dumping of procedures had failed...
4
by: prosad | last post by:
hi! my problems: 1. i can not restore my database from my command line i type gives me: /*!40101 SET @OLD_CHARACTER...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.