mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-09-23 21:06:28 +00:00
小更新
This commit is contained in:
@ -1,13 +1,12 @@
|
||||
# -*- conding: utf8 -*-
|
||||
|
||||
import os
|
||||
from msctspt.funcOpera import keepart
|
||||
|
||||
m = 0
|
||||
|
||||
for path, dir_list, file_list in os.walk(r"./"):
|
||||
for file_name in file_list:
|
||||
if keepart(file_name, '.', None) == '.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"):
|
||||
|
Reference in New Issue
Block a user