String 상수
CODEDRAGON ㆍDevelopment/Python
반응형
String 상수
|
상수명 |
설명 |
|
string.ascii_lowercase |
영문 소문자 abcdefghijklmnopqrstuvwxyz |
|
string.ascii_uppercase |
영문 대문자 ABCDEFGHIJKLMNOPQRSTUVWXYZ |
|
string.ascii_letters |
소문자와 대문자를 합친 영문자 전체 |
|
string.digits |
10진수 숫자 0123456789 |
|
string.hexdigits |
16진수 숫자 0123456789abcdefABCDEF |
|
string.octdigits |
8진수 숫자 01234567 |
|
string.punctuation |
기호 문자열 !”#$%&’()*+,-./:;<=>?@[]^_’{|}~ |
|
string.whitespace |
공백으로 취급되는 문자열 \t\n\r\x0b\x0c |
|
string.printable |
ascii_letter, digits, punctuation, whitespace를 포함한 문자열 |
'Development > Python' 카테고리의 다른 글
| import (0) | 2020.02.16 |
|---|---|
| 클래스 간의 관계 확인 (0) | 2020.02.16 |
| 상속 관계에 있는 클래스들의 정보 획득 (0) | 2020.02.15 |
| 내장 자료형과의 클래스 통일 (0) | 2020.02.15 |
| __call__ (0) | 2020.02.15 |