Python full stack -- Day19 collections module, random module, os module, sys module

Today's content

https://www.cnblogs.com/Eva-J/articles/7228075.html

1. Initial knowledge of serialization

1. Serialization: The process of converting the original dictionary, list, etc. into a string is called serialization. In serialization, "sequence is string".

  The origin of serialization, assuming there is a dictionary {'k': 'v'}, we will replace it with a string, just add quotation marks, that is, "{'k': 'v'}", then this At that time, the dictionary has lost its meaning and just represents a string.

2. Purpose of serialization