python4delphi
python4delphi copied to clipboard
Free components that wrap up Python into Delphi and Lazarus (FPC)
Failed to compile in RS10.3.3 with error: WrapFmxLayouts.pas(8) Fatal: F2613 Unit 'FMX.BufferedLayout' not found. BufferedLayout" has existed since RS10.4
Currently it isn't possible to use `PyArg_ParseTupleAndKeywords` in a `CreateWith` function to initialize a class object because only the positionned args are forwarded to CreateWith in `TPythonType.NewSubtypeInst`.
Hi! I've being able to use Python4delphi with no issues on Python 3.7 32 bits that we use on most computers and servers. Even ISAPI web server applications are working...
it's all I need for my projects for now, but if I have some spare time, I'll also try to implement TStream.Read/Write
In the latest PythonEngine.pas the python help function opens a command window instead of redirecting to the open console. I used Demo 1 and I tried to run the following:...
TDynamicDLL can be reused and deserves it own unit. PythonEngine.pas - Move TDynamicDLL to DynamicDll.pas; make GetDllPath virtual to allow override in TPythonInterface.
Under some circumstances (sorry, I don't have minimal code to reproduce the error) named parameters in VarPyth not cleared between function calls, and function called without named parameters may recieve...
if issubclass( Form, CustomForm ): print('yeee') else: print('nope') # always here It seems that _tp_base_ of the inherited class is not set.
Hi, I found that to make the script debuggable by debugpy / VS Code a bit different script execution must be done. Below is a code that works for me....