Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Python initialization sequence for version 1.3


This article explains the initialization sequence for version 1.3 of Python modules.

The initialization phase follows the following steps:
  • The Python script is started using the specified Python executable in a separate process
  • The pythonModule.py script sends a "STARTED" message to the Python module
  • If a init EntryPoint was provided, the Python script specific init method is called
  • The Python script specific init method is called[1]
    This method is called only if the init(self, pythonUtils) method is specified for the Python script
    , and the pythonModule.py script sends a "INIT" message to the Python module
In that case, the Python module receives only the "INIT" text, and the Python script specific init method is called. This method is called only if the init(self, pythonUtils) method is specified for the Python script.
sequencepythonstart

Notes

  1. ^ This method is called only if the init(self, pythonUtils) method is specified for the Python script

See also


Categories: concepts | python

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence