Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 00:54:21)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
I want to be able to execute this in PB, so I tried this
Compiler2 = RunProgram("python3","", "", #PB_Program_Open | #PB_Program_Read)
Output$ = ""
If Compiler2
While ProgramRunning(Compiler2)
If AvailableProgramOutput(Compiler2)
Output$ + ReadProgramString(Compiler2) + Chr(13)
OutPut$=Trim(OutPut$)
EndIf
Wend
EndIf
Debug Output$
But I get nothing back, anyone see what I am doing wrong. I want to be able to communicate with Python using PB

