mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
小更新
This commit is contained in:
parent
1f94f558c4
commit
0ce24bff92
@ -214,6 +214,6 @@ You can now open Musicreater.PYC in the directory of ./Musicreater to run Musicr
|
|||||||
|
|
||||||
|
|
||||||
if platform == "linux":
|
if platform == "linux":
|
||||||
srun("python3 ./Musicreater/补全库.pyc")
|
srun("python3 -m pip install -r ./Musicreater/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/")
|
||||||
elif platform == "win32":
|
elif platform == "win32":
|
||||||
srun("python ./Musicreater/补全库.pyc")
|
srun("pip install -r ./Musicreater/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/")
|
||||||
|
@ -113,10 +113,6 @@ class MainWindow(wx.Frame):
|
|||||||
# 载入参量 注意!图标将不被载入参数
|
# 载入参量 注意!图标将不被载入参数
|
||||||
|
|
||||||
|
|
||||||
self.__root = tk.Tk()
|
|
||||||
'''窗口根'''
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
self.menuWidgets = menuWidget
|
self.menuWidgets = menuWidget
|
||||||
'''菜单设定项'''
|
'''菜单设定项'''
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
# -*- conding: utf8 -*-
|
# -*- conding: utf8 -*-
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from msctspt.funcOpera import keepart
|
|
||||||
|
|
||||||
m = 0
|
m = 0
|
||||||
|
|
||||||
for path, dir_list, file_list in os.walk(r"./"):
|
for path, dir_list, file_list in os.walk(r"./"):
|
||||||
for file_name in file_list:
|
for file_name in file_list:
|
||||||
if keepart(file_name, '.', None) == '.py':
|
if file_name.endswith('.py'):
|
||||||
file = os.path.join(path, file_name)
|
file = os.path.join(path, file_name)
|
||||||
print("得到文件名:" + str(file))
|
print("得到文件名:" + str(file))
|
||||||
for i in open(file, 'r', encoding="utf-8"):
|
for i in open(file, 'r', encoding="utf-8"):
|
||||||
|
Loading…
Reference in New Issue
Block a user