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
													
											
												
												- 함수
- 라즈베리파이
- port
- mssql
- 날짜
- urllib
- PER
- sqlite
- 리눅스
- Linux
- MS-SQL
- pandas
- 유니티
- ASP
- MySQL
- IOS
- 맛집
- node.js
- tensorflow
- swift
- PyQt
- Excel
- ubuntu
- python
- Unity
- GIT
- javascript
- flutter
- 다이어트
- PyQt5
													Archives
													
											
											
											
											목록collor (1)
아미(아름다운미소)
			
			
				Python 3 특정 출력에 색상을 지정
				
	
	
               
           
					
					
					
					
					
					
						
					
				다음은 Python 3 스크립트에서 특정 출력에 색상을 지정하는 데 사용하는 클래스입니다 EX) from colorprint import ColorPrint as _ _.print_fail('Error occurred, quitting program') Class)import sys # Colored printing functions for strings that use universal ANSI escape sequences. # fail: bold red, pass: bold green, warn: bold yellow, # info: bold blue, bold: bold white class ColorPrint: @staticmethod def print_fail(message, end = '\n..
				랭귀지/python
				
				2018. 8. 24. 10:00