diff --git a/6x2.png b/6x2.png new file mode 100644 index 0000000..f272da9 Binary files /dev/null and b/6x2.png differ diff --git a/SimHei.ttf b/SimHei.ttf new file mode 100644 index 0000000..0875c08 Binary files /dev/null and b/SimHei.ttf differ diff --git a/alice.png b/alice.png new file mode 100644 index 0000000..43fbfd5 Binary files /dev/null and b/alice.png differ diff --git a/bell.png b/bell.png new file mode 100644 index 0000000..e09bf00 Binary files /dev/null and b/bell.png differ diff --git a/my_cloud.py b/my_cloud.py new file mode 100644 index 0000000..477896c --- /dev/null +++ b/my_cloud.py @@ -0,0 +1,11 @@ +import wordcloud +with open('python二级考试大纲.txt',encoding='utf-8')as f: + text = f.read() + + + +w=wordcloud.WordCloud(background_color="white",font_path='SimHei.ttf') + +w.generate(text) + +w.to_file("mycloud.png") \ No newline at end of file diff --git "a/python\344\272\214\347\272\247\350\200\203\350\257\225\345\244\247\347\272\262.txt" "b/python\344\272\214\347\272\247\350\200\203\350\257\225\345\244\247\347\272\262.txt" new file mode 100644 index 0000000..e69de29 --- /dev/null +++ "b/python\344\272\214\347\272\247\350\200\203\350\257\225\345\244\247\347\272\262.txt"