:orphan:
.. _s_11PytoRuntime6ScriptO:
``Script``
==========
A script to run with :swift:symbol:`PytoRuntime.Interpreter.run(_:with:enableBreakpoints:)`.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
.. rubric:: Cases
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime6ScriptO4codeyACSScACmF
.. raw:: html
Plain code (creates a temporary file).
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime6ScriptO10executableyAC10Foundation3URLVcACmF
.. raw:: html
An executable from a file URL, to be run from a shell.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime6ScriptO7fileURLyAC10Foundation0E0V_SbSSSgtcACmF
.. raw:: html
A script from a file URL.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime6ScriptO4replyAC10Foundation3URLVSg_SbSSSgtcACmF
.. raw:: html
A REPL, optionally executing a script in its namespace first.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime6ScriptO5shellyA2CmF
.. raw:: html
The shell. You can pass a command as arguments.