Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 보험료
- 코딩
- 변환
- 급성심근경색증
- 추가납입
- 인출수수료
- jQuery
- 가입
- 자바스크립트
- 웹개발
- 교보
- 보험
- PythonProgramming
- 교보생명
- 프론트엔드
- 사망
- 뇌출혈
- 납입
- python
- 프로그래밍
- javascript
- Java
- 수수료
- 특약
- 파이썬
- 리스트
- 중도인출
- Vue.js
- 문자열
- 심장질환
Archives
- Today
- Total
목록ANSI (1)
SeouliteLab
[Python/파이썬] 터미널에 색상 텍스트 출력하기
예제: class Color: RED = '\033[91m' GREEN = '\033[92m' YELLOW = '\033[93m' BLUE = '\033[94m' RESET = '\033[0m' def print_colored_text(text, color): colored_text = color + text + Color.RESET print(colored_text) print_colored_text("빨간색 텍스트", Color.RED) print_colored_text("초록색 텍스트", Color.GREEN) print_colored_text("노란색 텍스트", Color.YELLOW) print_colored_text("파란..
카테고리 없음
2024. 4. 23. 09:35