Commit 402f749b by BellCodeEditor

auto save

parent 4a7e6a3e
Showing with 11 additions and 7 deletions
from PIL import Image # from PIL import Image
import numpy as np # import numpy as np
img = Image.open("6x2.png") # img = Image.open("6x2.png")
print(img) # print(img)
value = np.array(img) # value = np.array(img)
print(value) # print(value)
\ No newline at end of file import jieba
text = "他来自北京大学"
txt_list = jieba.lcut(text)
print(txt_list)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment