Jump to content
Sign in to follow this  
Clément

Python <-> Delphi

Recommended Posts

Hi,

 

(I will use Delphi Athens for this project)

 

This project started as 100% python, but the developer had some problems calling "Edge Browser" from Python. I know this is a out of topic, but is there a way to call and interact with Edge Browser directly from Python.
By interact, I mean using DOM, executing scripts , getting results to keep running the script.

 

I know I can interact pretty well with Edge Browser from Delphi. Most of these requirements are met. But there's a lot of python code I just don't have time (nor knowledge) to translate to Delphi....

I believe there's two choices:
  1) Create a delphi module to be called from python (using ctypes). This module would call edge and serve as a bridge between python and the browser.
  2) Execute the whole thing from delphi using P4D.

 

I honestly don't have a clue what challenges I will face from either solution.
Could someone shed some light? Is there a sample or demo I could study?

 

TIA,

Clément

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×