Skip to content

Instantly share code, notes, and snippets.

🏉
Focusing

kins kinsluck

🏉
Focusing
Block or report user

Report or block kinsluck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kinsluck
kinsluck / AlltoGIF.py
Created Apr 25, 2018
A simple script to transfer all image format to GIF format.
View AlltoGIF.py
import os
import glob
from PIL import Image
for infile in os.listdir('.'):
if infile in glob.glob('*.py'):
pass
else:
f, e = os.path.splitext(infile)
outfile = f + ".gif"
View CNnum2Arabnum.py
import os
dd = ['', '', '', '', '', '', '', '', '', '']
for item in os.listdir('.'):
fname = str(item)
# a=len(fname)
new = ''
for i in range(len(fname)):
if fname[i] in dd:
You can’t perform that action at this time.