当前位置:网站首页>Markdown file titles are all reduced by one level
Markdown file titles are all reduced by one level
2022-07-03 15:14:00 【The fog always resolves】
Use one python Script can solve the problem ;
fileName = r'F:\md note \java\file.md'
with open(file=fileName, mode="r", encoding='utf-8') as f1:
lines = f1.readlines()
for i in range(0, len(lines)):
if lines[i][0] == '#':
lines[i] = '#' + lines[i]
# To be processed lines Write to a new file
fileName2 = r'F:\md note \java\file- modify .md'
with open(file = fileName2,mode='w',encoding='utf-8') as f2:
f2.writelines(lines)
边栏推荐
- 【日常训练】395. 至少有 K 个重复字符的最长子串
- Analysis of development mode process based on SVN branch
- Mmdetection learning rate and batch_ Size relationship
- Kubernetes帶你從頭到尾捋一遍
- Halcon与Winform学习第一节
- 2022/02/14
- Global and Chinese market of Bus HVAC systems 2022-2028: Research Report on technology, participants, trends, market size and share
- 【pytorch学习笔记】Datasets and Dataloaders
- [transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018
- 【云原生训练营】模块八 Kubernetes 生命周期管理和服务发现
猜你喜欢

基础SQL教程

4-20-4-23 concurrent server, TCP state transition;
![[wechat applet] wxss template style](/img/28/f9d12bf761e25f9564d92697cf049d.png)
[wechat applet] wxss template style
![[set theory] inclusion exclusion principle (complex example)](/img/9a/db5a75e27516378c31531773a8a221.jpg)
[set theory] inclusion exclusion principle (complex example)

Incluxdb2 buckets create database

Leasing cases of the implementation of the new regulations on the rental of jointly owned houses in Beijing

5.2-5.3

Série yolov5 (i) - - netron, un outil de visualisation de réseau

Introduction to redis master-slave, sentinel and cluster mode

Devaxpress: range selection control rangecontrol uses
随机推荐
Troubleshooting method of CPU surge
Redis主从、哨兵、集群模式介绍
Global and Chinese markets of AC electromechanical relays 2022-2028: Research Report on technology, participants, trends, market size and share
5-1 blocking / non blocking, synchronous / asynchronous
Influxdb2 sources add data sources
B2020 points candy
Apache ant extension tutorial
Byte practice plane longitude 2
[pytorch learning notes] transforms
[set theory] inclusion exclusion principle (complex example)
视觉上位系统设计开发(halcon-winform)-6.节点与宫格
What is label encoding? How to distinguish and use one hot encoding and label encoding?
Idea does not specify an output path for the module
Byte practice surface longitude
[transform] [practice] use pytoch's torch nn. Multiheadattention to realize self attention
Centos7 deployment sentry redis (with architecture diagram, clear and easy to understand)
Kubernetes vous emmène du début à la fin
Redis single thread problem forced sorting layman literacy
Leetcode the smallest number of the rotation array of the offer of the sword (11)
Global and Chinese markets for transparent OLED displays 2022-2028: Research Report on technology, participants, trends, market size and share