Comment convertir un numéro entier en mots dans Python?

"""
A very simple solution for converting
a number into words. 100 --> one hundred.
But first, install num2words as follows:
pip install num2words
"""
import num2words

print(num2words.num2words(1000))  # one thousand
print(num2words.num2words(23))  # twenty-three
Wissam