This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
BIT2024
/
clip
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
ADD file via upload
master
BIT2024
1 year ago
parent
5e0f185a07
commit
2ecfa3f639
1 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+17
-0
utils/color_print.py
+ 17
- 0
utils/color_print.py
View File
@@ -0,0 +1,17 @@
from rich import print
def red_print(text):
print(f"[red]{text}[/red]")
def green_print(text):
print(f"[green]{text}[/green]")
def yellow_print(text):
print(f"[yellow]{text}[/yellow]")
def blue_print(text):
print(f"[blue]{text}[/blue]")
if __name__ == "__main__":
yellow_print("This is red text.")
Write
Preview
Loading…
Cancel
Save