Java creates SmartArt graphics in PPT and reads text in SmartArt graphics

1, Overview and environmental preparation SmartArt graphics can express the logical relationship between content and viewpoint through different layout and combination of text and graphics, which can quickly and effectively convey the intention and information of designers. This visual representation of graphic expression is commonly used in PP ...

Posted by FezEvils on Tue, 26 May 2020 09:18:31 -0700

Using log4net to output the log file to csv format

When we write a program, we will record some logs during the program running. log4net, as a durable log component, is worthy of our trust. In small and medium-sized companies, there is often no professional log server to handle the logs generated by the application program, and the poorly formatted log file makes it difficult to count, analy ...

Posted by ericm on Tue, 26 May 2020 00:58:54 -0700

Python playing with Excel: automatic function filling and data sorting

In the work, we often use excel to deal with data and display, but for some work we can use the help of programs to achieve efficient problem-solving effect. For example, the json returned from the interface is parsed and saved in Excel, the data in excel is processed according to certain rules and then written into a new EXCEL file, and the co ...

Posted by 3r0ss on Sun, 24 May 2020 23:33:32 -0700

Take you to work efficiently: report automation with python

Source network, only for learning, if there is infringement, please contact delete. If we can achieve report automation, we will save a lot of time and complete the work more efficiently. So, how to use python to realize report automation? This article will introduce the common functions of xlwt, xlrd and xlutils, the application of formulas ...

Posted by JoeBuntu on Thu, 21 May 2020 23:13:05 -0700

Task 25 - first reptile test

First question: use the requests library to visit Baidu homepage 20 times, and return the length of his text and content attributes.   1 # -*- coding: utf-8 -*- 2 """ 3 Created on Tue May 19 10:12:16 2020 4 5 @author: 49594 6 """ 7 8 import requests 9 url = "https://www.baidu.com/" 10 for i in range(20): 11 try: 12 rest ...

Posted by RDx321 on Tue, 19 May 2020 07:45:21 -0700

Practical case: Python easily realizes PDF format conversion (with detailed source code)

    preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Project background Online PDF conversion tools are dazzling, difficult to choose, some e ...

Posted by alexboyer on Mon, 18 May 2020 08:26:28 -0700

The realization of moving average filter in hand-held teaching series

[introduction]: in the previous article about IIR design, some friends are still reading it. Although I don't know how the officials feel, I think there is always a reward to read, so I decided to continue this series. This article talks about average filter, which is very easy at first glance. But I don't think some of the key points are clear ...

Posted by embtech on Sat, 16 May 2020 23:08:17 -0700

Dealing with Excel table cell format setting with OpenPyXL in Python

Official documents: http://openpyxl.readthedocs.io/en/default/ OpenPyXL Library -- cell style settings Cell style control, dependent on openpyxl.style Package, which defines the objects required by the style and introduces the style related: from openpyxl.styles import PatternFill, Font, Alignment, Border, Side Border border Side border Patter ...

Posted by Petty_Crim on Sat, 16 May 2020 00:23:15 -0700

First crawler and test

1, Improve the game procedures and test the game procedures. Change the end of the code slightly. If the code is correct, run it. Otherwise, output Error. from random import random #Printer introduction def printIntro(): print("19 Deng Ruoyan, No. 23, Xinji class 2") print("This program simulates two players A and B Table tennis comp ...

Posted by Deivas on Wed, 13 May 2020 10:27:12 -0700

File download - Download Excel

1. Prepare the data first. The data here is not the data directly found in the database, but a copy of the data found. The data of the two does not affect each other, so that the copied data can be modified. (1) define a method (implementation class method of service layer) of data found from database, omit the method of mapper mapping file and ...

Posted by Duey on Tue, 12 May 2020 07:10:01 -0700