File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "format_version" : 1 ,
3- "data_version" : 94 ,
4- "updated" : " 2026-04-17T17:06:15Z " ,
3+ "data_version" : 95 ,
4+ "updated" : " 2026-04-17T18:24:51.985Z " ,
55 "announcement" : null ,
66 "categories" : [
77 {
16311631 "updated" : null ,
16321632 "status" : " active" ,
16331633 "lines" : 144
1634+ },
1635+ {
1636+ "id" : " web_crawler_mo38mv63" ,
1637+ "name" : " web_crawler" ,
1638+ "name_en" : " web_crawler" ,
1639+ "desc" : " Name" ,
1640+ "desc_en" : " Name" ,
1641+ "category" : " basic" ,
1642+ "file" : " scripts/basic/web_crawler_mo38mv63.py" ,
1643+ "thumbnail" : null ,
1644+ "version" : 1 ,
1645+ "file_type" : " py" ,
1646+ "author" : " Nice" ,
1647+ "author_en" : " Nice" ,
1648+ "tags" : [
1649+ " community"
1650+ ],
1651+ "requires" : [],
1652+ "min_app_version" : " 1.5.0" ,
1653+ "added" : " 2026-04-17" ,
1654+ "updated" : null ,
1655+ "status" : " active" ,
1656+ "lines" : 26
16341657 }
16351658 ]
16361659}
Original file line number Diff line number Diff line change 1+ # 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~
2+ import time
3+ R = "\033 [91m" # 红
4+ G = "\033 [92m" # 绿
5+ Y = "\033 [93m" # 黄
6+ X = "\033 [0m" # 重置
7+ print ("普通" )
8+ t = '█'
9+ for i in range (51 ):
10+ k = i * 2
11+ print (f"\r |{ i * '█' } { (50 - i )* ' ' } |{ k } %" ,end = "" )
12+ time .sleep (0.08 )
13+ #高级
14+ print ("\n 高级" )
15+ def load ():
16+
17+ for i in range (51 ):
18+ if i * 2 < 30 :
19+ types = R
20+ elif i * 2 > 30 and i * 2 < 60 :
21+ types = Y
22+ elif i * 2 > 60 :
23+ types = G
24+ print (f"\r |{ types } { i * t } { X } |{ (49 - i ) * '-' } { i * 2 } %" , end = "\033 [A" )
25+ time .sleep (0.08 )
26+ load ()
You can’t perform that action at this time.
0 commit comments