dumping command-history in python interactive mode

Discussion in 'Python' started by Christoph Becker-Freyseng, Jul 17, 2003.

  1. Hello,

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

    Thanks,
    Christoph Becker-Freyseng
    Christoph Becker-Freyseng, Jul 17, 2003
    #1
    1. Advertising

  2. Christoph Becker-Freyseng

    Ben Finney Guest

    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
    Ben Finney, Jul 18, 2003
    #2
    1. Advertising

  3. Michael Hudson, Jul 18, 2003
    #3
  4. Take a look here

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

    Christoph Becker-Freyseng <> wrote in message news:<>...
    > Hello,
    >
    > is there a way to dump (and save) the command-history of the python
    > interactive mode.
    >
    > Thanks,
    > Christoph Becker-Freyseng
    Pedro Werneck, Jul 18, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. POYEN OP Olivier (DCL)

    RE: dumping command-history in python interactive mode

    POYEN OP Olivier (DCL), Jul 18, 2003, in forum: Python
    Replies:
    0
    Views:
    381
    POYEN OP Olivier (DCL)
    Jul 18, 2003
  2. Ashot
    Replies:
    22
    Views:
    4,182
    Fernando Perez
    Feb 8, 2005
  3. Alex
    Replies:
    1
    Views:
    299
    Peter Hansen
    Sep 9, 2005
  4. John J Lee
    Replies:
    3
    Views:
    447
    bruno at modulix
    Dec 1, 2005
  5. ThomasC
    Replies:
    6
    Views:
    347
Loading...

Share This Page