Python Interpreter with multiple Python Programs

David Abrahams dave at boost-consulting.com
Mon Mar 10 22:27:59 EST 2003


Gerhard Häring <gerhard.haering at opus-gmbh.net> writes:

> Anthony Irwin <anthonyi at toolboxsoftware.com.au> wrote:
>> Hi,
>> 
>> I have recently started learning Python and have a question about the
>> interpreter, if I run multiple Python programs will the Python interpreter
>> load for each program I run.
>> 
>> e.g. If I run 4 Python programs will 4 Python interpreters load or 1
>> interpreter for all 4 programs.
>
> 4 interpreters will be loaded.

Note that on some platforms that may mean you only have one shared
copy of the Python code in main memory, though.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list