mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2025-09-21 12:06:28 +00:00
支持WebSocket播放……
This commit is contained in:
12
自我陶醉.py
12
自我陶醉.py
@ -1,18 +1,20 @@
|
||||
# -*- conding: utf8 -*-
|
||||
# -*- conding: utf8 -*-
|
||||
|
||||
import os
|
||||
|
||||
m = 0
|
||||
|
||||
for path, dir_list, file_list in os.walk(r"./"):
|
||||
if (r".venv" in path) or (r"wxFB_Project" in path):
|
||||
continue
|
||||
for file_name in file_list:
|
||||
if file_name.endswith('.py'):
|
||||
if file_name.endswith(".py"):
|
||||
file = os.path.join(path, file_name)
|
||||
print("得到文件名:" + str(file))
|
||||
for i in open(file, 'r', encoding="utf-8"):
|
||||
for i in open(file, "r", encoding="utf-8"):
|
||||
code = i.strip()
|
||||
|
||||
if code.startswith('#'):
|
||||
|
||||
if code.startswith("#"):
|
||||
pass
|
||||
elif code:
|
||||
print("\t" + code)
|
||||
|
Reference in New Issue
Block a user