To use Pychartdir 's drawings in Python, you need to install the Pychartdir module, which is installed in a different way than other Python modules.
1. Download pychartdir, download the corresponding ZIP package from the official website http://www.advsofteng.com/download.html (chartdirector for Python)
2. Remember to unblock the ZIP file to use Chartdirector before extracting .
3. The extracted Doc directory has a Pychartdir.chm help document
4. The installation in the Help document describes how to install:
Create a new Chartdirector directory under the Lib\site-packages directory in the Python installation directory
Copy all files under the extracted Chartdirector\lib directory to the chartdirector directory created earlier
in the site-packages directory to create a new chartdirector.pth file, notepad open, add chartdirector inside, save exit
5. Open the Python IDE, enter from pychartdir import *, if the import is successful, the installation is successful, you can use pychartdir
6.Pychartdir.chm contains many examples to reference, as well as the use of APIs
Installation and use of the Python pychartdir module