Embarcadero / Lightweight-Python-Wrappers

Lightweight Wrappers based on Python4Delphi to make it easy to import Python modules into Delphi components.
MIT License
29 stars 10 forks source link

Delphi + Python #18

Closed kazuser closed 1 year ago

kazuser commented 1 year ago

Hi there! I think I need your help :)

Installed everything (Lightweight-Python-Wrappers + python4delphi + PythonEnviroments) and everything works fine (btw, thanks a lot!). But now I need to install/connect/integrate https://github.com/jsvine/pdfplumber somehow — what next? 😶

1

test.zip

lmbelo commented 1 year ago

Have a close look to the DSC components, it will be helpful. Let me know if you need something else.

kazuser commented 1 year ago

image

image

Yes, thank you, I already have it (and NLTK is awesome), but I don't understand your main magic — how do you convert Python libraries to Delphi components 😕

kazuser commented 1 year ago

image

Wait a minute. All these selected files created manually, right? 🥲

lmbelo commented 1 year ago

@kazuser yes, right. You can use the NLTK.pas as a suggestion to yours. There is an app to automagically create these comps too. Hold on, let me grab it.

https://github.com/peardox/MakeP4DComponents

Special thanks to @peardox

kazuser commented 1 year ago

Thank you, I'll try :)

I hope (I'm lucky and) everything works out)))

kazuser commented 1 year ago

image

😊

Thanks again!

kazuser commented 1 year ago

0.9.0: PDFPlumber.zip