I’m trying to run a Python script in Xojo. I added a Shell object (Shell1) to the main window and ran this code:
Var Shell1 As New Shell
Shell1.Execute("/Users/robertcampanaro/Desktop/PrintTest/PrintTest.py")
Var CellText As String
CellText = Shell1.Result
TextField1.Text = CellText