Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(3)  |  Import(3)

src/b/r/BrickPython-0.4/ExamplePrograms/TrialApp.py   BrickPython(Download)
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))))
 
from BrickPython.TkApplication import TkApplication
from BrickPython.Sensor import Sensor, TouchSensor, LightSensor,\
    UltrasonicSensor
import logging
 
class App(TkApplication):

src/b/r/BrickPython-0.4/ExamplePrograms/MotorController.py   BrickPython(Download)
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))))
 
from BrickPython.TkApplication import TkApplication
from BrickPython.Motor import PIDSetting
from BrickPython.Sensor import Sensor
import logging
 
class MotorControllerApp(TkApplication):

src/b/r/BrickPython-0.4/ExamplePrograms/DoorControl.py   BrickPython(Download)
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))))
 
from BrickPython.TkApplication import TkApplication
from BrickPython.Sensor import Sensor
import logging
 
class DoorControlApp(TkApplication):