I know that I am changing the locale for the application using
import locale
locale.setlocale(locale.LC_ALL, '')
The documentation says that the default value for a locale usually comes from the LANG environment variable. However, on the Windows platform, this seems different. Where does Python take the default value for a locale? Is there a way to change this default value for all my Python scripts?
source
share