Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Numpy and matplotlib in incorporated Python.
Post: RE: Numpy and matplotlib in incorporated Python.

Yes, using GetExceptionMask and SetExceptionMask is better. But [exZeroDivide, exPrecision] is not always enough. For example, "import matplotlib.pyplot as plt" also requires exUnderflow. So I don't k...
CSKir Data Science 7 5,599 Jan-15-2019, 10:44 AM
    Thread: Numpy and matplotlib in incorporated Python.
Post: RE: Numpy and matplotlib in incorporated Python.

I have used "SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);" as the first command in the FormCreate procedure. But I don't know if there are drawb...
CSKir Data Science 7 5,599 Jan-15-2019, 07:48 AM
    Thread: Numpy and matplotlib in incorporated Python.
Post: RE: Numpy and matplotlib in incorporated Python.

Hi! I have found the solution. Numpy and matplotlib have different FPU flags behaviour from Lazarus and Delphi. So import wasn't executed correctly due to "Floating point division by zero exception" ...
CSKir Data Science 7 5,599 Jan-13-2019, 12:46 PM
    Thread: Numpy and matplotlib in incorporated Python.
Post: RE: Numpy and matplotlib in incorporated Python.

No, I don't have any PY-files. I am executing Lazarus EXE-file which uses the python36.dll file from Python installation folder. All the code is situated inside the TMemo component (standard component...
CSKir Data Science 7 5,599 Jan-11-2019, 08:00 AM
    Thread: Numpy and matplotlib in incorporated Python.
Post: Numpy and matplotlib in incorporated Python.

Hi! I am trying to incorporate Python in my Lazarus (IDE using Free Pascal) application using python4delphi (PythonForDelphi) components. They support both Delphi and Lazarus. I can execute both stan...
CSKir Data Science 7 5,599 Jan-10-2019, 08:31 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020