Free components that wrap up Python into Delphi and Lazarus (FPC)
Pascal C++ Python Other
Switch branches/tags
Nothing to show
Latest commit 23a3b28 Aug 25, 2015 @pyscripter Create
Failed to load latest commit information.
Install Initial checkin Nov 29, 2008
PythonForDelphi Fixed issue 28 Mar 20, 2015
PythonVCL Initial checkin Nov 29, 2008 Create Aug 25, 2015

Python for Delphi (P4D) is a set of free components that wrap up the Python dll into Delphi and Lazarus (FPC). They let you easily execute Python scripts, create new Python modules and new Python types. You can create Python extensions as dlls and much more. P4D provides different levels of functionality:

  • Low-level access to the python API
  • High-level bi-directional interaction with Python
  • Access to Python objects using Delphi custom variants (VarPyth.pas)
  • Wrapping of Delphi objects for use in python scripts using RTTI (WrapDelphi.pas)

P4D makes it very easy to use python as a scripting language for Delphi applications. It comes with an extensive range of demos and tutorials.