commit
49614bf7d1
|
@ -14,5 +14,5 @@
|
|||
| 文章标题 | 简要介绍 |
|
||||
|---|---|
|
||||
| [Python With 关键字和语句](https://www.ossez.com/t/python-with/13387) | 针对 with 关键字的使用进行了一些解答 |
|
||||
| [Python DataTime 日期处理](https://www.ossez.com/t/python-datatime/13388) | 关于日期函数处理的一些小的介绍和讨论 |
|
||||
| [Python DateTime 日期处理](https://www.ossez.com/t/python-datatime/13388) | 关于日期函数处理的一些小的介绍和讨论 |
|
||||
| [Python 日期格式和时间以及当前时间和时间戳](https://www.ossez.com/t/python/13389) | 关于时间和当前时间的时间戳的获取 |
|
||||
|
|
|
@ -34,4 +34,4 @@ with open(json_filename) as json_file:
|
|||
|
||||
# Write to YAML
|
||||
with open(yaml_filename, 'w') as yaml_file:
|
||||
yaml.dump(data, yaml_file, allow_unicode=True)
|
||||
yaml.dump(data, yaml_file, allow_unicode=True, default_flow_style=False)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"first_name": "John",
|
||||
"last_name": "Doe",
|
||||
"date_of_birth": "1/1/2021"
|
||||
"date_of_birth": "1/1/1955"
|
||||
}
|
Loading…
Reference in New Issue