Python.PrintOutput
------------------

Queries the output of print commands in Python.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Python](component_Python.md) | [14.3](newinversion143.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Python.PrintOutput"; PythonRef ) 

**MBS**( **"Python.PrintOutput";** /\* Queries the output of print commands in Python. \*/  
**$PythonRef**) /\* The Python reference number.e.g. $python \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PythonRef | The Python reference number. | $python |

### Result

Returns OK or error.

### Description

Queries the output of print commands in Python.  
The plugin collects all print output when you run Python code.   
### See also

- [Python.Run](PythonRun.md)

### Example Databases

- [Python](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Python.shtml#2ScriptAnchor_)

### Blog Entries

- [Using Python in FileMaker](https://www.mbsplugins.de/archive/2024-06-24/Using_Python_in_FileMaker/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 23th May 2024 , last changed 31st May 2024

  
[Python.Path](PythonPath.md) - [Python.ProgramFullPath](PythonProgramFullPath.md)

[HTML Version](PythonPrintOutput.shtml)