def IsDebug():
 import imp
 for suffix_item in imp.get_suffixes():
  if (suffix_item[0] == '_d.pyd'):
   return '_d'
 return ''

def IsDebug ( ) : import imp for suffix_item in imp . get_suffixes ( ) : if ( suffix_item [ 0 ] == '_d.pyd' ) : return '_d' return ''
return "_d" if were running a debug version .