Skip to content

Commit 1289aeb

Browse files
Add _captcha
create captcha images by your desired clauses
1 parent f812770 commit 1289aeb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_captcha.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from captcha.image import ImageCaptcha
2+
3+
CLAUSE = 'SinaF123'
4+
5+
image = ImageCaptcha()
6+
image.write(CLAUSE, f'captcha-{CLAUSE}.png')

0 commit comments

Comments
 (0)