Extending Python command line

Andrew Henshaw andrew.henshaw at gtri.gatech.edu
Fri Jun 23 02:45:42 EDT 2000


Is there a reasonably simple way to extend the Python command line so that
instead of typing:

   >>> myspecialfunction('this is some stuff')

I could type:

   >>> myspecialfunction this is some stuff

Everything else should be handled normally.

A nice bonus would be if it could handle line continuations.

Cheers,

Andy Henshaw



More information about the Python-list mailing list