File tree 3 files changed +6
-6
lines changed
Tools/【实验性工具】/自动化/自动打包所有py文件
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -229,13 +229,13 @@ def package_pyw(file_path, log_file="None"):
229
229
file_path = os .path .join (root , file )
230
230
countd += 1
231
231
os .remove (file_path )
232
- print (f'{ Fore .GREEN } 已删除源文件: { file_path } (还剩{ acount - countd } 个源文件)' )
232
+ print (f'{ Fore .GREEN } ✓ { Fore . RESET } 已删除源文件: { file_path } (还剩 { acount - countd } 个源文件)' )
233
233
234
234
notification .notify (
235
235
title = 'Pyinstaller快速打包程序提醒您' ,
236
236
message = f'文件删除完成!总共删除了{ countd } 个原文件' ,
237
237
timeout = 10
238
238
)
239
- print (f"{ Fore .GREEN } 文件删除完成!总共删除了{ countd } 个原文件" )
239
+ print (f"{ Fore .GREEN } 文件删除完成!总共删除了 { Fore . BLUE } { countd } { Fore . RESET } 个原文件" )
240
240
241
241
input ("按 ENTER 键继续..." )
Original file line number Diff line number Diff line change @@ -212,13 +212,13 @@ def package_pyw(file_path, log_file="None"):
212
212
file_path = os .path .join (root , file )
213
213
countd += 1
214
214
os .remove (file_path )
215
- print (f'已删除源文件: { file_path } (还剩{ acount - countd } 个源文件)' )
215
+ print (f'{ Fore . GREEN } ✓ { Fore . RESET } 已删除源文件: { file_path } (还剩 { acount - countd } 个源文件)' )
216
216
217
217
notification .notify (
218
218
title = 'Nuitka快速打包程序提醒您' ,
219
219
message = f'文件删除完成!总共删除了{ countd } 个原文件' ,
220
220
timeout = 10
221
221
)
222
- print (f"文件删除完成!总共删除了{ countd } 个原文件" )
222
+ print (f"{ Fore . GREEN } 文件删除完成!总共删除了 { Fore . BLUE } { countd } { Fore . RESET } 个原文件" )
223
223
224
224
input ("按 ENTER 键继续..." )
Original file line number Diff line number Diff line change @@ -203,13 +203,13 @@ def package_pyw(file_path, log_file="None"):
203
203
file_path = os .path .join (root , file )
204
204
countd += 1
205
205
os .remove (file_path )
206
- print (f'已删除源文件: { file_path } (还剩{ acount - countd } 个源文件)' )
206
+ print (f'{ Fore . GREEN } ✓ { Fore . RESET } 已删除源文件: { file_path } (还剩 { acount - countd } 个源文件)' )
207
207
208
208
notification .notify (
209
209
title = 'Pyinstaller快速打包程序提醒您' ,
210
210
message = f'文件删除完成!总共删除了{ countd } 个原文件' ,
211
211
timeout = 10
212
212
)
213
- print (f"{ Fore .GREEN } 文件删除完成!总共删除了{ countd } 个原文件" )
213
+ print (f"{ Fore .GREEN } 文件删除完成!总共删除了 { Fore . BLUE } { countd } { Fore . RESET } 个原文件" )
214
214
215
215
input ("按 ENTER 键继续..." )
You can’t perform that action at this time.
0 commit comments