|
31.
|
|
|
Names beginning with underscore (\_) are reserved for Ren'Py's internal use. In addition, there is an :ref:`Index of Reserved Names <reserved-names>`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:169
|
|
32.
|
|
|
Other Named Stores
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:174
|
|
33.
|
|
|
Named stores provide a way of organizing python code into modules. By placing code in modules, you can minimize the chance of name conflicts.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:176
|
|
34.
|
|
|
Named stores can be accessed by supplying the ``in`` clause to ``python`` or ``init python``, code can run accessed in a named store. Each store corresponds to a python module. The default store is ``store``, while a named store is accessed as ``store``.`name`. These python modules can be imported using the python import statement, while names in the modules can be imported using the python from statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:180
|
|
35.
|
|
|
For example::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:188
|
|
36.
|
|
|
Named stores participate in save, load, and rollback in the same way that the default store does.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/python.rst:207
|