:orphan: .. _s_11PytoRuntime8ParsableP4from12pythonObject11interpreterxAA0F0C_AA11InterpreterCtKFZ: ``from(pythonObject:interpreter:)`` =================================== Converts a Python to a Swift value of the receiver type. .. raw:: html .. rubric:: Declaration .. raw:: html
static func from(
       pythonObject: Object,
       interpreter: Interpreter
   ) throws -> PythonClass
   
.. rubric:: Parameters - **pythonObject**: The Python object to be converted. - **interpreter**: The Python interpreter. .. rubric:: Returns A Swift value. .. rubric:: Discussion .. note:: This documentation comment was inherited from :swift:symbol:`PytoRuntime.Parsable`.