Streaming commands to the Arduino Bridge Console

I have a program with mildly complicated logic.
As such, I want to the logic in Python instead of C.
However, this program needs to then tell the Arduino chip to do something with it's I/O pins.

Basically, I require the Python program to stream commands to the Arduino in a queue like fashion

I saw the Bridge Console demo which uses telnet, and I thought I would open a telnet connection from the linino chip's Python to send commands to the Arduino chip.

However, this seems like a bit of overkill... Is there a simpler way I can write to the bridge console from Python without opening a TCP connection?

Keep in mind that I want a stream type interface (one command after the other), not a dictionary/bucket type of interface.

sillycow:
I have a program with mildly complicated logic.
As such, I want to the logic in Python instead of C.
However, this program needs to then tell the Arduino chip to do something with it's I/O pins.

Basically, I require the Python program to stream commands to the Arduino in a queue like fashion

I saw the Bridge Console demo which uses telnet, and I thought I would open a telnet connection from the linino chip's Python to send commands to the Arduino chip.

However, this seems like a bit of overkill... Is there a simpler way I can write to the bridge console from Python without opening a TCP connection?

Keep in mind that I want a stream type interface (one command after the other), not a dictionary/bucket type of interface.

Given what you have posted I am going to assume you are using some flavor of an Arduino Yun.

basically, you want to have a communication link between a python program/script to a sketch running on the Arduino side which will receive the communication and fiddle with the I/O pins based on the communication received.

What is the bitrate of this stream of commands?

I need to think on this a bit.

This is the Yun forum, so your assumption is correct.
The bitrate is around 200 commands per second: 64 bits per command, but I can interpolate the signal to reduce it if needed...

sillycow:
This is the Yun forum, so your assumption is correct.
The bitrate is around 200 commands per second: 64 bits per command, but I can interpolate the signal to reduce it if needed...

you are changing the I/O pins every 5 milliseconds?
What is this for exactly?

you have written 64 bits per command, are the commands binary or ASCII characters?

64 bits == 8 ASCII Characters.

how are the 64 biut commands being delimited?
How will the arduino know where one command begin and ends?