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.
|
|
|
"""
|
|
|
|
I am a self-contained program!
|
|
|
|
"""
|
|
|
|
|
|
|
|
import mitogen
|
|
|
|
|
|
|
|
|
|
|
|
def repr_stuff():
|
|
|
|
return repr([__name__, 50])
|
|
|
|
|
|
|
|
|
|
|
|
@mitogen.main()
|
|
|
|
def main(router):
|
|
|
|
context = router.local()
|
|
|
|
print context.call(repr_stuff)
|