0
Votes
Undo
  1. 田 泽
  2. Beta Testing
  3. Friday, 20 December 2019 17:02 PM UTC

pb开发工具中能否使用python(Python插件)??

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 24 December 2019 02:47 AM UTC
  2. Beta Testing
  3. # 1

Hi 泽,

 

PB cant use the Python Plugin directly.

However, if you use Python to create a standard OCX/COM, then PB can use the OLE method to call it. Just like how PB calls Excel and MS Web Browser.

 

 

Regards,

Ken

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 20 December 2019 20:50 PM UTC
  2. Beta Testing
  3. # 2

Hi ;

   No python is not supported within the PB IDE. However, you could ...

1) Create a .Net Assembly in the PB IDE and then consume that from your Python code.

2) Create a C# Web API web service from PB (2019 and higher edition) and then call that from Python.

The advantage of which would be to encapsulate your database interactions and of course, leverage the powerful DataWindow features of PB.

HTH

Regards ...Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.