Featured Products
Omegabundle for Xojo 2024 Products

Add a Python interpreter to your Xojo applications

MBS Xojo Python Plugin

The MBS Xojo Python Plugin and the new PythonMBS class allows you to evaluate Python code in Xojo and run scripts.

  • Use Python code within your Xojo application.
  • Load a python 3.x library from a given path. You need to bring the python folder or install python via official installer or package manager.
  • Import existing Python modules
  • Register custom functions to call to Xojo code from Python
  • Converts data types between Xojo and Python including arrays and dictionaries.
  • Evaluate Python expressions
  • Redirect print() function in Python to Xojo event to capture console output.
  • Report problems in Python with Xojo exceptions.
  • Run existing Python scripts in the context of your applications.
  • Query and set variables in Python in your Xojo code.
  • Use multiple Python environments with local variables simultaneously.

 Get started with this introduction to using the MBS Xojo Python Plugin, which covers the following:

  • Initialization
  • Check Version
  • Print Hello World
  • Process JSON in Python
  • Evaluate

 

The MBS Xojo Python Plugin utilizes the version of Python installed on the user computer.

Features Platform Targets
  • Supports Python 3.4.x, 3.5.x, 3.6.x, 3.7.x, 3.8.x, 3.9.x, 3.10.x, 3.11.x or 3.12.x
  • macOS X Intel 32 bit and 64 bit
  • macOS X Apple Silicon
  • Windows 32 bit and 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit and 64 bit
  • Linux ARM 32 bit and 64 bit

 

Learn More