I'm looking for a way to write a snippet that would let me include another snippet. Here is an example of a snippet for a python function:
def test(args):
${1:code here}
$(insert-snippet "not_implemented_exception")
In the example, I would like to first write some contents to the python function in field #1, then hit TAB. Hitting TAB should take me to the lisp bit, where I may choose to expand the snippet with the name "not_implemented_exception".
I tried reading the source code but am very new to lisp, so I found nothing of use.