def toascii():
    with open('C:\\log.convert', 'r', encoding='utf8') as origfile:
        with open('C:\\log.toascii', 'w', encoding='ascii') as convertfile:
            pass
How to use unidecode in python (3.3)