Python operation Word and Excel and packaging

Installing the module # Word action library pip install docx # Excel operation Library pip install openpyxl # Package exe tool pip install pyinstaller Word operation Reference address: https://python-docx.readthedocs.io/en/latest/ matters needing attention Can only operate on docx format of openxml specification Word interna ...

Posted on Fri, 29 May 2020 08:06:54 -0700 by luuney

Using Docker to publish razor wasm

Using Docker to publish razor wasm The files compiled by Blazor are static files, so we only need a web server that supports static pages.According to different projects, it will be arranged in different containers. For example, this article will show how to pack into docker step by step when there is no gateway demandHTTPSSince there is no gat ...

Posted on Thu, 28 May 2020 18:53:24 -0700 by matt_wilkes

Horizontal and vertical screen correlation

AndroidManifest: android:configChanges="orientation|screenSize" At first, set this to go vertically and horizontally. onConfigurationChanged (in fact, it doesn't matter whether this one is written or not. I haven't found anything else yet.) Customize the myroeientationeventlistener inner class //Inherit the OrientationEventListener c ...

Posted on Wed, 27 May 2020 08:51:09 -0700 by kinaski

SQL statement blocking P6SPY

Software introduction P6Spy is an open source framework that can be used to intercept and modify data operation statements in applications. Through P6Spy, we can intercept SQL statements, which is equivalent to a recorder of SQL statements, so we can use it for relevant analysis, such as performance analysis. P6SPY provides the following functi ...

Posted on Wed, 27 May 2020 07:33:48 -0700 by FeralReason

Three cases of @Import in Spring

We often see @Import import functionality in the Spring framework, especially at the framework level. ​ I'll just tell you what it can import. First, declare that @Import is a comment. There are three types of imports: 1. Import the configuration @Configuration, similar to the import xml file of spring's earlier version 2.5, <?xml version=" ...

Posted on Mon, 25 May 2020 16:46:45 -0700 by warriors2003

Osgeearth uses note 1 -- show a digital earth

catalog 1. Overview 2. Implementation 2.1. 3D display 2.2. Two dimensional display 1. Overview Osgeearth supports. Earth files, which hold the configuration XML of digital earth related information. Just read this configuration file, you can get the corresponding digital earth related effect directly. B ...

Posted on Sun, 24 May 2020 04:05:47 -0700 by Eclesiastes

Spring source code: what have you done since ApplicationContext was started?

1, Introduction When using ApplicationContext to start the Spring container, the code is as follows: ApplicationContext applicationContext = new ClassPathXmlApplicationContext( "applicationContext.xml"); This line of code, including the whole process of Spring startup, will go through ...

Posted on Sun, 24 May 2020 04:01:23 -0700 by yalag

Custom ClassLoader -- third party jar packages can be loaded

package com.classloader.util; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.net.URLStreamHandlerFactory; import java.security.CodeSource; import java.security.PermissionCollection; import java.util.Enumeration; import java.util.jar.Manifest; ...

Posted on Wed, 20 May 2020 08:52:11 -0700 by bumbar

Android Learning Service Foundation

Android Service Service (service) It is one of the four components in Android. It can run in the background for a long time. The service does not need to provide a user interface. Even if the user switches to another application, the service can still run in the background. 1.Service Creation of 1.Service Creation of Service creatio ...

Posted on Tue, 19 May 2020 04:29:48 -0700 by George W. Bush

Develop blog project based on abp vNext and. NET Core - perfect and beautify, Swagger comes on stage

Last article( https://www.cnblogs.com/meowv/p/12896898.html )The blog project has been successfully run, so this article is mainly to solve the problems left before. Now the code seems to be confused. There are a lot of unrelated codes in it, which is really zero tolerance for obsessive-compulsive patients. In the world of programmers, there i ...

Posted on Mon, 18 May 2020 19:13:37 -0700 by suresh_nsnguys