This article mainly introduces the detailed use of json module in Python 3. The editor thinks it's very good. Now I'll share it with you and give you a reference. Let's follow Xiaobian to have a look
2. Read JSON
2.1 simplest example
2.2 bytes and byte array data
2.3 cod ...
Posted on Fri, 21 Feb 2020 06:49:26 -0800 by fibonacci
Sequence contains: string, tuple, list
What can be done
Index and slice
Functions supported by sequences
print(len(s1))# String length
Posted on Sat, 15 Feb 2020 22:06:07 -0800 by jmandas
Today, February 14, 2020, overcast to light rain, 11-17 ℃
Single dogs can't celebrate Valentine's day, so happy birthday to ENIAC, 74 A kind of
1, Condition test
A conditional test is an expression with a value of True or False. An expression can be a variable of type bool or a comparison expression ...
Posted on Fri, 14 Feb 2020 00:43:40 -0800 by mr_zhang
1 By flow direction
Input Flow, Output Flow
(2) By type
Byte Stream, Character Stream
2. Byte Stream
1. Everything is bytes
* All data is stored in a computer as binary numbers, one byte at a time, as it is when transmitted.
*Byte streams can transfer any file data.When working with streams, it is always clear ...
Posted on Thu, 13 Feb 2020 14:05:22 -0800 by 3s2ng
Question E: find the number that meets the condition
Time limit: 1 Sec memory limit: 128 MB
Input N (N < = 32767), output the integer (including N) within N, so that the sum of its numbers is 15, and output 8 numbers per line. The output field width is ...
Posted on Tue, 11 Feb 2020 07:03:01 -0800 by thor erik
Chapter 1 Buffer Stream
Yesterday, I learned some basic streams to get started with IO streams. Today, I want to see some more powerful streams.For example, a buffer stream that can read and write efficiently, a transform stream that can convert codes, a serialized stream that can persist stored objec ...
Posted on Wed, 05 Feb 2020 21:38:43 -0800 by VisionsOfCody
C language string library string.h contains many common string functions:
String length function strlen
String comparison function strcmp
String copy function strcpy
String append function strcat
Find character function strchr from left
Right search character function strrchr
Find string function strstr ...
Posted on Wed, 05 Feb 2020 01:55:01 -0800 by xardas
I'm looking for very simple obfuscation (encryption and decryption, but not necessarily security) capabilities for some data. This is not a critical task. I need something to keep honest people honest, but ROT13 or Base64 Be strong.
I prefer to have included .NET framework 2.0, so I don't have to ...
Posted on Sat, 01 Feb 2020 23:36:00 -0800 by Azad
1, The. properties file in Java
2, Read profile
1. Load properties from the file stream
2. Load configuration file from classPath
3. Read a byte stream from memory to load the configuration file
3, Write profile
1, The. properties ...
Posted on Fri, 31 Jan 2020 22:54:57 -0800 by bbauder
The longest substring complexity of letCode without repeating characters O(n)
When we see this problem, the first method we think of is to store each symbol (subscript and char symbol) in order with LinkList. When we traverse to a certain character, we can judge whether the current characte ...
Posted on Wed, 29 Jan 2020 01:11:24 -0800 by aris1234