def lower(self):
    for key, value in list(self.CHARMAP.get('to_lower').items()):
        self = self.replace(key, value)
return self.lower()

def upper(self):
    for key, value in list(self.CHARMAP.get('to_upper').items()):
        self = self.replace(key, value)
return self.upper()
if __name__ == '__main__':
    pass
Python UTF-8 Lowercase Turkish Specific Letter