parameters: (self, request, c_type='operation', img_width=150, img_height=30, font_path=None, session_key=None)
docstring: 初始化对象信息.
docstring_summary: 初始化对象信息.
docstring_tokens: 初始化对象信息 .
function: def __init__(self, request, c_type='operation', img_width=150, img_height=30, font_path=None, session_key=None):
          """ 初始化对象信息. """
          self.django_request = request
  
          # 验证码类型：运算(operation), 字符串(string)
          self.code_type = c_type
          self.img_width = img_width
          self.img_height = img_height
          # 验证码字体颜色
          self.font_color = ["black", "darkblue", "darkred"]
          self.font_path = font_path or _DEFAULT_FONT_PATH
          self.session_key = session_key or _DEFAULT_SESSION_KEY
function_tokens: def __init__ ( self , request , c_type = 'operation' , img_width = 150 , img_height = 30 , font_path = None , session_key = None ) : self . django_request = request # 验证码类型：运算(operation), 字符串(string) self . code_type = c_type self . img_width = img_width self . img_height = img_height # 验证码字体颜色 self . font_color = [ "black" , "darkblue" , "darkred" ] self . font_path = font_path or _DEFAULT_FONT_PATH self . session_key = session_key or _DEFAULT_SESSION_KEY