paul at prescod.net
Mon Feb 2 06:42:21 CET 2004
Andrew Burton wrote:
> Which is the best was to use Python: from the interactive shell, as a scripting
> language, or as the Python.h library with C? Is the interactive shell there for
> anything beyond prototyping code?
I would say that the vast majority of all Python use is as a scripting
language using the form:
The interactive interpreter shell has no memory from session to session
so you lose your work all of the time.
Wrapping your Python program in C is an extra step that is typically
only necessary when you have a C code base that you are trying to extend.
More information about the Python-list