https://www.delphisource.com/how-to-import-pi-in-python/