Creating commands with Python

Michael Hudson mwh21 at cam.ac.uk
Wed Apr 25 16:22:51 EDT 2001


costas at meezon.com writes:

> Is there a way in Python to define new keyworded commands. For
> example Python has the "import from" command.

No.

> If not, why does Python have this inconsitent keyword based command?

Pragmatics?

Cheers,
M.

-- 
  ... but I guess there are some things that are so gross you just have
  to forget,  or it'll destroy something within you.  perl is the first
  such thing I have known.              -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list