CN115061727B - Method and device for calling python script command by shell command and storage medium - Google Patents

Method and device for calling python script command by shell command and storage medium Download PDF

Info

Publication number
CN115061727B
CN115061727B CN202210995661.7A CN202210995661A CN115061727B CN 115061727 B CN115061727 B CN 115061727B CN 202210995661 A CN202210995661 A CN 202210995661A CN 115061727 B CN115061727 B CN 115061727B
Authority
CN
China
Prior art keywords
command
shell
script
calling
python
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210995661.7A
Other languages
Chinese (zh)
Other versions
CN115061727A (en
Inventor
李伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiehui Technology Co Ltd
Original Assignee
Beijing Jiehui Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiehui Technology Co Ltd filed Critical Beijing Jiehui Technology Co Ltd
Priority to CN202210995661.7A priority Critical patent/CN115061727B/en
Publication of CN115061727A publication Critical patent/CN115061727A/en
Application granted granted Critical
Publication of CN115061727B publication Critical patent/CN115061727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention relates to the technical field of containers, in particular to a method, a device and a storage medium for calling a python script command by a shell command, and aims to solve the technical problem that in the existing method, a second command cannot be executed in a virtual environment because the second command can be executed after entering the virtual environment and the streaming command is finished and exits the virtual environment. To this end, the method for calling the python script command by the shell command comprises the following steps: acquiring virtual environment information of python to be executed, calling method names and position information of script files to be generated; storing the virtual environment information, the calling method name and the position information into a cache; generating a script file based on the virtual environment information and the calling method name; and executing the calling script file based on the position information, and returning an execution result.

Description

Method and device for calling python script command by shell command and storage medium
Technical Field
The invention relates to the technical field of containers, and particularly provides a method and a device for calling a python script command by a shell command, and a storage medium.
Background
With the popularity of programming languages such as python, more and more technicians write scripts to improve work efficiency. Therefore, the python virtual environment sometimes needs to be called from the java environment (i.e. the shell environment), in this case, the python script command needs to be executed after the virtual environment is entered first, and the python script is executed after the command mode switching mode cannot be completed by normal use of java codes. For example, the shell command:
source modelInitPath
python python interface name
Wherein modelInitPath is a virtual environment, the first command is to enter the virtual environment, and the second command is to execute a python interface command.
Because the execution of the shell script command in the java environment is executed through the stream mode command, the stream command is finished after the first command is executed. However, the second command cannot be executed until the second command enters the virtual environment, and the streaming command is ended and exits the virtual environment, so that the second command cannot be executed in the virtual environment.
Accordingly, there is a need in the art for a new scheme for a shell command to invoke a python script command to solve the above-mentioned problems.
Disclosure of Invention
The present invention has been made to overcome the above-mentioned drawbacks, and aims to provide a solution or at least a partial solution to the above-mentioned technical problem. The invention provides a method and a device for calling a python script command by a shell command and a storage medium.
In a first aspect, the present invention provides a method for a shell command to call a python script command, the method comprising the steps of: acquiring virtual environment information of python to be executed, calling method names and position information of script files to be generated; storing the virtual environment information, calling method name and position information into a cache; generating a script file based on the virtual environment information and the calling method name; and executing and calling the script file based on the position information, and returning an execution result.
In one embodiment, the virtual environment information includes an identification of a python virtual environment; the calling method name comprises parameter option parameter values.
In one embodiment, generating a script file based on the virtual environment information and a calling method name includes: selecting a shell script template according to the calling parameters; a script execution step is formulated based on the shell script template; generating a script command based on the shell script template; and generating the script file based on the script command.
In one embodiment, the step of formulating a script execution based on the shell script template comprises: and setting an execution sequence of at least two variables based on the shell script template.
In one embodiment, generating the script file based on the script command includes: and filling the script command into the position related to the variable in the shell script template to obtain a script file.
In one embodiment, invoking the script file is performed based on the location information, including: judging whether the execution position of the script file is a local machine or not based on the position information;
if yes, executing the script file;
if not, pushing the script file to a specified server position and executing.
In one embodiment, pushing the script file to a designated server location includes: and pushing the script file to a specified server position through an SSH protocol.
In a second aspect, the present invention provides an apparatus for a shell command to call a python script command, the apparatus comprising:
the obtaining module is configured to obtain the virtual environment information of the python to be executed, the calling method name and the position information of the script file to be generated;
a storage module configured to store the virtual environment information, calling method name, and location information in a cache;
a generation module configured to generate a script file based on the virtual environment information and the calling method name;
and the execution module is configured to execute calling of the script file based on the position information and return an execution result.
In a third aspect, there is provided an electronic device comprising a processor and a storage adapted to store a plurality of program codes adapted to be loaded and run by the processor to perform the method of any of the foregoing shell commands invoking a python script command.
In a fourth aspect, there is provided a computer readable storage medium having stored therein a plurality of program codes adapted to be loaded and executed by a processor to perform the method of any of the foregoing shell commands calling a python script command.
One or more technical schemes of the invention at least have one or more of the following beneficial effects:
the method for calling the python script command by the shell command comprises the steps of firstly obtaining virtual environment information, calling method name and position information of a script file to be generated of python to be executed, then storing the virtual environment information, the calling method name and the position information into a cache, secondly generating a script file based on the virtual environment information and the calling method name, and finally executing the calling script file based on the position information and returning an execution result. Therefore, the method can be compatible with a plurality of python virtual environments and a plurality of shell commands or python commands, and therefore the problem that when the shell commands call the python script commands, the second commands can be executed only after entering the virtual environments, and the second commands cannot be executed in the virtual environments is solved.
Drawings
The disclosure of the present invention will become more readily understood with reference to the accompanying drawings. As is readily understood by those skilled in the art: these drawings are for illustrative purposes only and are not intended to constitute a limitation on the scope of the present invention. Moreover, in the drawings, like numerals are used to indicate like parts, and in which:
FIG. 1 is a flow diagram illustrating the main steps of a method for a shell command to call a python script command according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of the main flow of generating a script file according to one embodiment of the present invention;
FIG. 3 is a flowchart of executing a call script file according to one embodiment of the invention;
FIG. 4 is a full flow diagram of a method for a shell command to invoke a python script command, according to one embodiment of the invention;
FIG. 5 is a schematic diagram of the main structure of an apparatus for a shell command to call a python script command according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
List of reference numerals
11: an acquisition module; 12: a storage module; 13: a generation module; 14: and executing the module.
Detailed Description
Some embodiments of the invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
In the description of the present invention, a "module" or "processor" may include hardware, software, or a combination of both. A module may comprise hardware circuitry, various suitable sensors, communication ports, memory, may comprise software components such as program code, or may be a combination of software and hardware. The processor may be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and/or signal processing functionality. The processor may be implemented in software, hardware, or a combination thereof. Non-transitory computer-readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random-access memory, and so forth. The term "A and/or B" denotes all possible combinations of A and B, such as only A, only B or both A and B. The term "at least one A or B" or "at least one of A and B" means similar to "A and/or B" and may include only A, only B, or both A and B. The singular forms "a", "an" and "the" may include the plural forms as well.
At present, because the execution of the shell script command in the java environment is performed by the stream mode command, the stream command is ended after the first command is executed. However, the second command cannot be executed until the second command enters the virtual environment, and the streaming command is ended and exits the virtual environment, so that the second command cannot be executed in the virtual environment.
The method comprises the steps of firstly obtaining virtual environment information, calling method name and position information of a script file to be generated of python to be executed, then storing the virtual environment information, calling method name and position information into a cache, secondly generating the script file based on the virtual environment information and calling method name, and finally executing the calling script file based on the position information and returning an execution result. Therefore, the method can be compatible with a plurality of python virtual environments and a plurality of shell commands or python commands, and therefore the problem that when the shell commands call the python script commands, the second commands can be executed only after entering the virtual environments, and the second commands cannot be executed in the virtual environments is solved.
Referring to fig. 1, fig. 1 is a flow chart illustrating the main steps of a method for a shell command to call a python script command according to an embodiment of the present invention.
As shown in fig. 1, the method for calling a python script command by a shell command in the embodiment of the present invention mainly includes the following steps S101 to S104.
Step S101: and acquiring the virtual environment information of the python to be executed, the calling method name and the position information of the script file to be generated. The position information of the script file to be generated refers to a specific path of the generated script file.
In a particular embodiment, the virtual environment information includes an identification of a python virtual environment; the calling method name comprises parameter option parameter values.
The virtual environment information includes an identification of the python virtual environment from which the particular python virtual environment can be determined. Such as by identifying the python virtual environment that identifies an item.
The calling method name is at least one of an execution command (action), a rollback command (rollback), a preparation command (prepare), and a parameter value of a parameter option, but is not limited thereto, and may be other commands or incoming parameters.
Step S102: and storing the virtual environment information, the calling method name and the position information into a cache.
Specifically, the data such as the virtual environment information for executing python, the calling method name, and the location information of the script file to be generated, which are acquired in the step S101, are sorted into the cache.
Step S103: generating a script file based on the virtual environment information and the calling method name may specifically be implemented by the following steps S1031 to S1034.
S1031: and selecting the shell script template according to the calling parameters.
In particular, a shell script template is a generic or customized script template that is pre-configured to be compatible with a variety of python virtual environments and tasks. Illustratively, the following is a universal script template:
#!/bin/bash
source XXX
test=` `
echo $test
among them, the "after the variable test is the script command that needs to be written, i.e. the shell command or python command.
In this step, a corresponding shell script template can be selected through a preset calling parameter.
S1032: and making a script execution step based on the shell script template.
In a specific embodiment, the step of making a script execution based on the shell script template comprises: and establishing an execution sequence of at least two variables based on the shell script template.
Specifically, the script execution step is to make an execution sequence of a plurality of variables (test), such as variable 1 (test 1), variable 2 (test 2), \8230.
S1033: and generating a script command based on the shell script template.
Specifically, for each variable, a corresponding script command can be generated through a < sh | python > script file name [ -a file ] [ e < action | rollback | prepare > ] [ -parameter option parameter value ].
Thus, multiple shell commands or python commands may be generated.
S1034: and generating the script file based on the script command. Specifically, multiple script commands are integrated into one script file.
In one embodiment, generating the script file based on the script command includes: and filling the script command into the position related to the variable in the shell script template to obtain a script file.
Specifically, a plurality of script commands are filled in, for example, "of respective variables (test) in the script template, and one script file is obtained.
Step S104: and executing and calling the script file based on the position information, and returning an execution result.
In one embodiment, invoking the script file is performed based on the location information, and includes: judging whether the execution position of the script file is a local machine or not based on the position information; if yes, executing the script file; if not, pushing the script file to a specified server position and executing.
Specifically, before executing the script file, whether the position where the script file is executed is a local server or other servers is judged according to the position information, if the position where the script file is executed is determined to be the local server, the script file is executed, and if the position where the script file is executed is determined to be other servers, the script file is pushed to the specified server position and executed.
In a specific embodiment, pushing the script file to a specified server location includes: and pushing the script file to a specified server position through an SSH protocol.
Specifically, when the execution position of the script file is determined to be other servers, the script file is pushed to the designated server position through an SSH protocol and executed.
After the script file is executed, the execution result of the script file is returned. Carrying out line-by-line processing on correct return information; if an error is returned or reported, returning the specified error according to the specified error code.
Based on the above steps S101 to S104, first, the virtual environment information, the calling method name, and the location information of the script file to be generated of the python to be executed are obtained, then the virtual environment information, the calling method name, and the location information are stored in the cache, then the script file is generated based on the virtual environment information and the calling method name, and finally the calling script file is executed based on the location information, and the execution result is returned. Therefore, the method can be compatible with a plurality of python virtual environments and a plurality of shell commands or python commands, and therefore the problem that when the shell commands call the python script commands, the second commands can be executed only after entering the virtual environments, and the second commands cannot be executed in the virtual environments is solved.
In a specific embodiment, as shown in the main flow diagram of generating a script file shown in fig. 2, a shell template may be preset, then the content of the shell template is written, and finally the script file is generated.
In an embodiment, as shown in the flowchart of fig. 3, it is first determined whether the location of the script file is the native machine, and if so, the generated script file is called and an execution result is returned. If not, pushing the script file to the appointed server position through an SSH protocol, executing and calling the generated script file, and returning an execution result. In addition, the specified error can be returned according to the specified error code according to the error or the error report.
In a specific embodiment, as shown in fig. 4, a complete flow diagram of a method for calling a python script command by a shell command is shown, which includes first obtaining information of a virtual environment in which the python is to be executed, obtaining a name of the calling method in which the python is to be executed, obtaining a position where a script file is generated, and the like, then creating a shell script file, and executing calling the shell script file, and generating a return result.
It should be noted that, although the foregoing embodiments describe each step in a specific sequence, those skilled in the art will understand that, in order to achieve the effect of the present invention, different steps do not necessarily need to be executed in such a sequence, and they may be executed simultaneously (in parallel) or in other sequences, and these changes are all within the protection scope of the present invention.
Furthermore, the invention also provides a device for calling the python script command by the shell command.
Referring to fig. 5, fig. 5 is a main structural block diagram of an apparatus for a shell command to call a python script command according to an embodiment of the present invention.
As shown in fig. 5, the apparatus for a shell command to call a python script command in the embodiment of the present invention mainly includes an obtaining module 11, a storing module 12, a generating module 13, and an executing module 14. In some embodiments, one or more of the obtaining module 11, the storing module 12, the generating module 13, and the executing module 14 may be combined together into one module. In some embodiments, the retrieval module 11 may be configured to retrieve virtual environment information for which python is to be executed, a calling method name, and location information of a script file to be generated.
The storage module 12 may be configured to store the virtual environment information, calling method name, and location information in a cache.
The generation module 13 may be configured to generate a script file based on the virtual environment information and the calling method name;
the execution module 14 may be configured to execute the calling of the script file based on the location information and return an execution result.
In one embodiment, the description of the specific implementation function may refer to steps S101 to S104.
For convenience and brevity of description, specific working procedures and related descriptions of the device for calling the python script command by the shell command may refer to the contents described in the embodiment of the method for calling the python script command by the shell command, and details are not described herein again.
It will be understood by those skilled in the art that all or part of the flow of the method of the above-described embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium, and the steps of the method embodiments may be implemented when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying said computer program code, medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunications signal, software distribution medium, or the like. It should be noted that the computer readable storage medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable storage media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Furthermore, the invention also provides electronic equipment. In an embodiment of the electronic device according to the present invention, as shown in fig. 6, the electronic device includes a processor 61 and a storage device 62, the storage device may be configured to store a program for executing the method for calling the python script command by the shell command of the above-mentioned method embodiment, and the processor may be configured to execute a program in the storage device, the program including but not limited to a program for executing the method for calling the python script command by the shell command of the above-mentioned method embodiment. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed.
Further, the invention also provides a computer readable storage medium. In one computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium may be configured to store a program for executing the method for a shell command to call a python script command of the above-described method embodiment, and the program may be loaded and executed by a processor to implement the method for the shell command to call a python script command. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. The computer readable storage medium may be a storage device formed by including various electronic devices, and optionally, the computer readable storage medium is a non-transitory computer readable storage medium in the embodiment of the present invention.
Further, it should be understood that, since the modules are only configured to illustrate the functional units of the apparatus of the present invention, the corresponding physical devices of the modules may be the processor itself, or a part of software, a part of hardware, or a part of a combination of software and hardware in the processor. Thus, the number of individual modules in the figures is merely illustrative.
Those skilled in the art will appreciate that the various modules in the apparatus may be adaptively split or combined. Such splitting or combining of specific modules does not cause the technical solutions to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or combining will fall within the protection scope of the present invention.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is apparent to those skilled in the art that the scope of the present invention is not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (9)

1. A method for a shell command to invoke a python script command, the method comprising the steps of:
acquiring virtual environment information of python to be executed, calling method names and position information of shell script files to be generated;
storing the virtual environment information, calling method name and position information into a cache;
generating a shell script file based on the virtual environment information and the calling method name;
executing and calling the shell script file based on the position information, and returning an execution result;
wherein generating a shell script file based on the virtual environment information and the calling method name comprises:
selecting a shell script template according to the calling parameters;
making a script execution step based on the selected shell script template;
generating a shell script command based on the shell script template;
and generating the shell script file based on the shell script command.
2. The method of calling a python script command by a shell command as recited in claim 1, wherein the virtual environment information comprises an identification of a python virtual environment; the calling method name comprises parameter option parameter values.
3. The method for calling a python script command by a shell command as claimed in claim 1, wherein the step of formulating a script execution based on the shell script template comprises: and establishing an execution sequence of at least two variables based on the shell script template.
4. The method for calling a python script command by a shell command as claimed in claim 3, wherein generating the shell script file based on the shell script command comprises: and filling the shell script command into a position related to the variable in a shell script template to obtain a shell script file.
5. The method for calling a python script command by a shell command as claimed in claim 1, wherein executing the calling the shell script file based on the location information comprises:
judging whether the execution position of the shell script file is a local machine or not based on the position information;
if so, executing the shell script file;
and if not, pushing the shell script file to an appointed server position and executing.
6. The method for calling a python script command by a shell command as claimed in claim 5, wherein pushing the shell script file to a specified server location comprises: and pushing the shell script file to a specified server position through an SSH protocol.
7. An apparatus for a shell command to invoke a python script command, the apparatus comprising:
the obtaining module is configured to obtain virtual environment information of python to be executed, a calling method name and position information of a shell script file to be generated;
a storage module configured to store the virtual environment information, calling method name, and location information in a cache;
a generation module configured to generate a shell script file based on the virtual environment information and a calling method name;
the execution module is configured to execute calling the shell script file based on the position information and return an execution result;
wherein the generation module is further configured to:
selecting a shell script template according to the calling parameters;
making a script execution step based on the selected shell script template;
generating a shell script command based on the shell script template;
and generating the shell script file based on the shell script command.
8. An electronic device comprising a processor and a memory device, the memory device adapted to store a plurality of program codes, wherein the program codes are adapted to be loaded and run by the processor to perform the method of any of claims 1 to 6 where a shell command calls a python script command.
9. A computer readable storage medium having stored therein a plurality of program codes adapted to be loaded and run by a processor to perform the method of a shell command calling a python script command as claimed in any one of claims 1 to 6.
CN202210995661.7A 2022-08-19 2022-08-19 Method and device for calling python script command by shell command and storage medium Active CN115061727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210995661.7A CN115061727B (en) 2022-08-19 2022-08-19 Method and device for calling python script command by shell command and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210995661.7A CN115061727B (en) 2022-08-19 2022-08-19 Method and device for calling python script command by shell command and storage medium

Publications (2)

Publication Number Publication Date
CN115061727A CN115061727A (en) 2022-09-16
CN115061727B true CN115061727B (en) 2022-11-08

Family

ID=83207475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210995661.7A Active CN115061727B (en) 2022-08-19 2022-08-19 Method and device for calling python script command by shell command and storage medium

Country Status (1)

Country Link
CN (1) CN115061727B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448657A (en) * 2021-09-01 2021-09-28 深圳市信润富联数字科技有限公司 Method for generating and executing dynamic spark task
CN114064460A (en) * 2021-10-28 2022-02-18 北京宜搜天下科技有限公司 Android APP-based pressure test and crash log extraction improvement method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595191B (en) * 2018-04-27 2021-09-14 京东方科技集团股份有限公司 Application installation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448657A (en) * 2021-09-01 2021-09-28 深圳市信润富联数字科技有限公司 Method for generating and executing dynamic spark task
CN114064460A (en) * 2021-10-28 2022-02-18 北京宜搜天下科技有限公司 Android APP-based pressure test and crash log extraction improvement method

Also Published As

Publication number Publication date
CN115061727A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN109558525B (en) Test data set generation method, device, equipment and storage medium
CN105045602A (en) Method and device for constructing Hadoop application development framework and electronic device
CN105263128A (en) Method and device for transmitting short message in batch
CN102982217B (en) The treating method and apparatus of silk-screen
CN111262753B (en) Method, system, terminal and storage medium for automatically configuring number of NUMA nodes
CN115629992A (en) Method for debugging application system constructed by using Spring technology stack
CN115061727B (en) Method and device for calling python script command by shell command and storage medium
CN112579454B (en) Task data processing method, device and equipment
CN114416547A (en) Test case based test method
WO2016165461A1 (en) Automated testing method and apparatus for network management system software of telecommunications network
CN107943651B (en) Information acquisition method, medium, device and computing equipment
CN114816170A (en) Rule scheme generation method, device, medium and electronic equipment
CN112800194A (en) Interface change identification method, device, equipment and storage medium
CN116467279A (en) Data migration method and device
CN106610899B (en) Test case generation method and device
CN109815202A (en) Log edit methods and relevant apparatus
CN110874214B (en) Function calling method and device, electronic equipment and storage medium
CN110221952B (en) Service data processing method and device and service data processing system
CN112783791A (en) Interface test case generation method and device
CN111694728A (en) Automatic generation method and device of script
CN114785847B (en) Network control software development configuration method, terminal and storage medium
CN113741946B (en) Clipping method, device and equipment of public interface function library and readable storage medium
CN114840847A (en) Method, device, medium and equipment for safely creating thread in target process
CN116126325A (en) Data management method, control device and storage medium based on reaction project

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant