Monitoring report automatic generation method and system based on Python and Excel VBA
A monitoring report and automatic generation technology, applied in the field of data processing, can solve the problems that the quality of output reports is greatly interfered by personal quality, missing monitoring reports, errors, etc., to improve output timeliness, ensure quality, and save human resources Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Such as figure 1 As shown, the embodiment of the present invention provides a kind of monitoring report automatic generation method based on Python and Excel VBA, comprises the following steps:
[0039] S1, obtaining a data source and storing it in a data source file; the data source includes an original report and an original report data source;
[0040] Specifically, use Python to simulate manual operations from various systems of the company to complete the download of the required original reports (the general code has been solidified, and only needs to be fine-tuned or simply customized according to different systems);
[0041] Obtain the required attachments directly from the mailbox through Python as the original report data source.
[0042] S2, preprocessing the data source file, importing the preprocessed data source file into a preset Excel template, operating the Excel template, and generating pictures and / or attachments of the monitoring report;
[0043] S...
Embodiment 2
[0064] Such as figure 2 A kind of monitoring report automatic generation system based on Python and Excel VBA provided by the present embodiment shown includes:
[0065] An acquisition module, configured to acquire a data source and store it in a data source file; the data source includes an original report and an original report data source;
[0066] The data processing module is used to preprocess the data source file, import the preprocessed data source file into a preset Excel template, operate the Excel template, and generate pictures and / or attachments of the monitoring report;
[0067] The report generation module is used to generate the email content of the monitoring report according to the HTML language based on the pictures and / or attachments;
[0068] The report distribution module is configured to call Outlook, and send the email content and the picture and / or attachments to the target group according to preset email configuration information.
[0069] It is wo...
Embodiment 3
[0072] Such as image 3 As shown, this embodiment provides an electronic device, including a memory and a processor, the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program includes a method for executing the above implementation Instructions for any of the methods described in the examples.
[0073] It should be understood that in the embodiment of the present invention, the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com