Changeset 1dcfd1f for protocols/python/examples/sampleplugin.py
- Timestamp:
- 2013-03-19T20:30:24Z (12 years ago)
- Children:
- 76ca5cb
- Parents:
- 26f3b5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/python/examples/sampleplugin.py
r26f3b5f r1dcfd1f 9 9 print "hello, I'm a test plugin running on Python", sys.version_info 10 10 11 print bpython.Protocol Plugin12 print bpython.Protocol Plugin()11 print bpython.Protocol 12 print bpython.Protocol() 13 13 print bpython.register_protocol 14 14 15 15 try: 16 class MyProtocol(bpython.Protocol Plugin):16 class MyProtocol(bpython.Protocol): 17 17 pass 18 18 except Exception, e:
Note: See TracChangeset
for help on using the changeset viewer.