arduino + raspberry pi / firmata + webiopi (python) ?

Im buildin internet controlled rc car with arduino, arduino motor shield and raspberry. So how to use firmata and webiopi at the same time.

This codes have to be used:

import webiopi import datetime


from pyfirmata import Arduino, utill board = Arduino('/dev/ttyUSB0')

but how to use those codes in the same time so webiopi and firmata could work together ? whole stuff works like this :

web pages picture-javaskript-webiopi macro/funktion from python program -> motor