code: def __init__(self, func, glyphset=None):
      BasePen.__init__(self, glyphset)
      self._funcs = self._getGreenBezierFuncs(func)
      self.value = 0
  
imports: from fontTools.pens.basePen import BasePen
  from functools import partial
  from itertools import count
  import sympy
  import sys
label_desc: Use image node_id 2 to create a new GreenPen object from inherited base classes: BasePen with example: obj = GreenPen(func, glyphset)