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

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)
write Event

src/c/i/circuits-3.0.0.dev/tests/io/test_file.py   circuits(Download)
from circuits.io import File
from circuits import Component
from circuits.io.events import write, close
 
 
    assert watcher.wait("opened", app.file.channel)
 
    app.fire(write(b"Hello World!"), app.file.channel)
    assert watcher.wait("write", app.file.channel)