跳至主要内容

博文

目前显示的是 四月, 2021的博文

进度条

https://pypi.org/project/progress/ https://github.com/tqdm/tqdm https://stackoverflow.com/questions/3160699/python-progress-bar?page=1&tab=votes#tab-top https://towardsdatascience.com/a-complete-guide-to-using-progress-bars-in-python-aa7f4130cda8 progress ,  progressbar2 ,  alive-progress ,  tqdm . # Progress from time import sleep from progress.bar import Bar with Bar('Processing...') as bar:     for i in range(100):         sleep(0.02)         bar.next() from time import sleep from progress.bar import Bar with Bar('Loading', fill='@', suffix='%(percent).1f%% - %(eta)ds') as bar:     for i in range(100):         sleep(0.02)         bar.next() from time import sleep from progress.spinner import MoonSpinner with MoonSpinner('Processing…') as bar:     for i in range(100):         sleep(0.02)         bar.next() # Progressb...

关闭windows自动更新

选项1.禁用Windows Update服务 选项2.设置计量连接 选项1.禁用Windows Update服务 选项2.设置计量连接 关闭windows自动更新 选项1.组策略编辑器 win10家庭版的系统上默认禁用组策略(gpedit.msc) 打开方式:以管理员身份运行以下批处理文件 @echo off pushd "%~dp0" dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i" pause 选项2.禁用Windows Update服务 脚本 https://github.com/f1tz/BlockWin10AU/blob/master/Block%20WAU.bat @echo off title BLOCK Win10AU! mode con cols=70 lines=15 color 1f echo ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ echo ※                    禁用Windows10自动更新                         ※ echo ※                        ...