A method for automatically calling python scripts based on java
A technology for automatically calling and starting scripts, applied in the creation/generation of source code, instruments, calculations, etc., can solve problems such as high debugging difficulty, impact, and inability to automatically go online, and achieve the effect of convenient deployment and high efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
[0039] like figure 1 Shown, a kind of method that the present invention provides based on Java automatically calls Python script, comprises the following steps:
[0040] 1. Use the spring-boot framework to build a java service, define the name of the python script to be called, the name of the function to be called in the script, and the function parameters and business in the configuration file or other sources (such as third-party platforms, databases, caches, etc.) The field mapping for the data source. An example is given below:
[0041] model.audit:
[0042] structured_information.get_share_info:s=ALTAF,d=frms_addr
[0043] a.b: a=frms_a, b=frms_b
[0044] structured_information.b:a=frms_a, b=frms_b
[0045] Among them, structured_information is the name of the python script that needs to be called, and get_share_info and b...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


