dumping command-history in python interactive mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christoph Becker-Freyseng

    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


  • Ben Finney

    #2
    Re: dumping command-history in python interactive mode

    On Thu, 17 Jul 2003 23:40:22 -0700, Matt Gerrans wrote:[color=blue]
    > "Christoph Becker-Freyseng" wrote:[color=green]
    >> is there a way to dump (and save) the command-history of the python
    >> interactive mode.[/color]
    >
    > 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?!).[/color]

    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

    Comment

    • Michael Hudson

      #3
      Re: dumping command-history in python interactive mode

      Christoph Becker-Freyseng <christoph@mm c-startup.com> writes:
      [color=blue]
      > Hello,
      >
      > is there a way to dump (and save) the command-history of the python
      > interactive mode.[/color]

      Yes. Does

      The official home of the Python Programming Language


      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

      Comment

      • Pedro Werneck

        #4
        Re: dumping command-history in python interactive mode

        Take a look here

        The official home of the Python Programming Language


        Christoph Becker-Freyseng <christoph@mm c-startup.com> wrote in message news:<mailman.1 058479887.12228 .python-list@python.org >...[color=blue]
        > Hello,
        >
        > is there a way to dump (and save) the command-history of the python
        > interactive mode.
        >
        > Thanks,
        > Christoph Becker-Freyseng[/color]

        Comment

        Working...