当前位置:网站首页>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)
边栏推荐
- 使用JMeter对WebService进行压力测试
- Byte practice surface longitude
- Introduction to redis master-slave, sentinel and cluster mode
- Chapter 14 class part 1
- Unity hierarchical bounding box AABB tree
- Mmdetection learning rate and batch_ Size relationship
- Série yolov5 (i) - - netron, un outil de visualisation de réseau
- 什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
- Solve the problem that pushgateway data will be overwritten by multiple push
- Influxdb2 sources add data sources
猜你喜欢
Solve the problem that pushgateway data will be overwritten by multiple push
Halcon与Winform学习第二节
[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University
第04章_逻辑架构
[probably the most complete in Chinese] pushgateway entry notes
MySQL reports an error: [error] mysqld: file '/ mysql-bin. 010228‘ not found (Errcode: 2 “No such file or directory“)
C string format (decimal point retention / decimal conversion, etc.)
Yolov5系列(一)——網絡可視化工具netron
Yolov5系列(一)——网络可视化工具netron
Centos7 deployment sentry redis (with architecture diagram, clear and easy to understand)
随机推荐
视觉上位系统设计开发(halcon-winform)-3.图像控件
5-1 blocking / non blocking, synchronous / asynchronous
406. Reconstruct the queue according to height
Yolov5 series (I) -- network visualization tool netron
Global and Chinese markets of AC electromechanical relays 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of postal automation systems 2022-2028: Research Report on technology, participants, trends, market size and share
【微信小程序】WXSS 模板样式
[attention mechanism] [first vit] Detr, end to end object detection with transformers the main components of the network are CNN and transformer
Kubernetes帶你從頭到尾捋一遍
Didi off the shelf! Data security is national security
【pytorch学习笔记】Datasets and Dataloaders
Yolov5 advanced seven target tracking latest environment construction (II)
[graphics] real shading in Unreal Engine 4
TPS61170QDRVRQ1
Global and Chinese market of air cargo logistics 2022-2028: Research Report on technology, participants, trends, market size and share
视觉上位系统设计开发(halcon-winform)-1.流程节点设计
Redis lock Optimization Practice issued by gaobingfa
Chapter 14 class part 1
Chapter 04_ Logical architecture
[transform] [NLP] first proposed transformer. The 2017 paper "attention is all you need" by Google brain team