반응형
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 |
Tags
- 파이썬
- Java
- Kotlin
- c#
- Tkinter
- numpy
- PANDAS
- matplotlib
- list
- Excel
- string
- Github
- Apache
- hive
- PostgreSQL
- dataframe
- gas
- GIT
- array
- Redshift
- django
- Mac
- PySpark
- SQL
- Google Excel
- google apps script
- Google Spreadsheet
- Python
- math
Archives
- Today
- Total
목록사람확인문자 (1)
달나라 노트

회원가입을 할 때 보면 정보를 다 입력하고 마지막 부분에 이상하게 생긴 문자들을 입력하라고 하는것이 보통입니다. 위 이미지처럼요. 위와같은 것을 주로 Captcha라고 하는데 이번에는 Python으로 위 이미지처럼 특정 문자를 captcha로 만들어보겠습니다. pip install captcha 먼저 captcha library를 설치해줍니다. from captcha.image import ImageCaptcha image = ImageCaptcha(width=160, height=90) txt_captcha = '3ck8Bei' image.generate(txt_captcha) image.write(txt_captcha, 'captcha_result.png') 위 코드를 실행해보면 아래처럼 내가 원하는..
Python/Python ETC
2021. 10. 31. 19:09