You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
164 B
Python
12 lines
164 B
Python
6 years ago
|
import logging
|
||
|
import mitogen.master
|
||
|
|
||
|
def foo():
|
||
|
pass
|
||
|
|
||
|
logging.basicConfig(level=logging.INFO)
|
||
|
router = mitogen.master.Router()
|
||
|
|
||
|
l = router.local()
|
||
|
l.call(foo)
|