Learning Notes Day 17
Today's learning includes packages, logging modules, hashlib modules, openpyxl modules, and concepts of deep and shallow copies.
package
In learning module, we have known four forms of module, one of which is package.
What is a bag?
It is a combination of a series of module files, expressed as a folder, which usually has a _int_ py file ins ...
Added by markhard on Sat, 20 Jul 2019 09:58:10 +0300
Packages and some commonly used modules
What is a bag?
A package is a folder that contains _init_ py files, so the purpose of creating a package is to organize files / modules with folders.
It should be emphasized that:
1. In Python 3, even if there is no _init_ py file under the package, the import package will still not report errors. In Python 2, the file must be under the pack ...
Added by ade1982 on Fri, 19 Jul 2019 15:47:54 +0300
Performance Hibernate Mass Storage Data Optimization
Have a good laugh
Tell my mother that these days are very depressed and in a bad mood.
My mother said, "If I don't give you the money, you'll go out for a few days!"
I immediately laughed and said, "OK, OK!"
Mom: "Happy!"
Me: "Well, Mom, get the money quickly!"
Mom: You're all happy. What else do I ...
Added by maxonon on Tue, 16 Jul 2019 23:14:23 +0300
PHPer Initiative Learning Road: Recommendations for Practical PHP Open Source Libraries (1)
PHP is a universal open source scripting language. Grammar absorbs the characteristics of C language, Java and Perl. It is easy to learn and widely used. It is mainly applicable to the field of Web development and is the first choice of most back-end developers. As one of the most popular programming languages, PHP often appears in the battle o ...
Added by bschmitt78 on Mon, 08 Jul 2019 06:58:31 +0300
ThinkPHP Exports Excel Files with PHPExcle
This article mainly describes how to use PHPExcel to export Excel files in thinkPHP. It is a summary of many other people's posts after the blogger has practiced, which can be used for personal testing. thinkPHP version is 3.2.0.
My blog: Mine-MuYan Welcome to harassment. ThinkPHP Exports Excel Files with PHPExcle.
Dead work
Download and conf ...
Added by dgreenhouse on Mon, 24 Jun 2019 01:42:24 +0300
01 python reads files and packages
Read files using open
.read()
Using open, you can read files without requiring any packages
r means read.
If the file and notebook are in the same folder, you just need to write the name of the file instead of filling in the full path.
file.read means to read everything in this file
file = open('data.txt','r')
print(file. ...
Added by johnbrayn on Sun, 19 May 2019 11:04:43 +0300
C# Setting Excel Data Adaptive Line Height and Column Width
In Excel tables, due to the complexity of various data, there may be problems such as the size of data fonts and the length of data content in cells, too wide or too narrow columns, or too large or too small rows. The common solution is to adjust the row height and column width. In Microsoft Excel, the adaptive row height or column width can be ...
Added by iifs044 on Sat, 18 May 2019 21:38:35 +0300
A thorough understanding of sorting algorithms
The original address is: A thorough understanding of sorting algorithms
A thorough understanding of sorting algorithms
Classification: algorithm
2013-09-26 22:20
61 people read
comment(0)
Collection
Report
There is a little obsessive-compulsive disorder, always feel like writing on the reprint, ...
Added by kyoru on Tue, 14 May 2019 15:51:35 +0300
Computer room combination query
Combinatorial Query about VB Edition Room Management
In the VB version computer room management system, there are many database queries, and also many combination queries. It is a headache to make clear the combination queries when you have just touched the database.
Next let me write a simple combination query in my ...
Added by Brendan on Sun, 12 May 2019 09:01:54 +0300