Test 6: Basic tangling
1. My Module
This is my very own module.
Start python section to interscript/tests/output/mymodule.py[1]
1: #line 5 "test_6.tpk"
2: import sys
3: class myclass:
4: def __init__(self, name):
5: self.name = name
1.1. hello method
Just says hello.
Start python section to interscript/tests/output/mymodule.py[2]
6: #line 12 "test_6.tpk"
7: def hello(self):
8: print 'hello','self.name
And now back to doco.