Login
📚 The Mojo Manual
Chapters ▾
⇩ Download ▾

10.1 Python interoperability

Not only does Mojo use a Pythonic syntax, our plan is to provide full compatibility with the Python ecosystem. There are two types of compatibility (or interoperability) that we support:

Diagram: images python python interop
into Python and a Python program calls into a Mojo module.

By embracing both directions of language interoperability, you can choose how to use Mojo with Python in a way that works best for your use case.

To learn more about bridging Python ↔ Mojo, continue reading: