Hi,
currently I am using B4J on my raspberry.
I am using Shell to execute python scripts and get the output, but here is the problem: I didn't get any output ...
Example test.py:
Code:
import time
while True:
print("test")
time.sleep(1)
Code:
Sub StartTest
Dim shl As Shell
shl.Initialize("shl","python",Array("/.../.../test.py"))
shl.RunWithOutputEvents(-1)
End Sub
Sub shl_StdOut (Buffer() As Byte, Length As Int)
Dim Output As String =...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bXGSxR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire