資源簡介
用Python代碼實現01字符串生成二維碼,非常實用。
代碼片段和文件信息
from?PIL?import?Image
MAX?=?25?
pic?=?Image.new(‘RGB‘(MAX?MAX))?
str?=‘‘‘11111110001000011011111111000001011100101101000001101110101
0000000001011101101110100100000000101110110111010111011010010111011
0000010101011011010000011111111010101010101111111000000001011101110
0000000110100110000010100111011011110101010010000111000000000001010
0000000100100110100010011100111101110011110000111011111000110010100
0110011100001010100011010001111010110000010100010110000011011101100
10000
評論
共有 條評論