Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson21-diy1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fdd90b6b
authored
Nov 27, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
2fbbf39d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
my_cloud.py
my_cloud.py
View file @
fdd90b6b
import
wordcloud
import
wordcloud
w
=
wordcloud
.
WordCloud
(
background_color
=
'black'
,
font_path
=
'SimHei.ttf'
)
w
=
wordcloud
.
WordCloud
(
background_color
=
'black'
,
font_path
=
'SimHei.ttf'
)
w
.
generate
(
'
###基本要求
w
.
generate
(
"
###基本要求
1.掌握 Python语言的基本语法规则。
1.掌握 Python语言的基本语法规则。
2.掌握不少于2个基本的 Python标准库
2.掌握不少于2个基本的 Python标准库
...
@@ -55,5 +55,5 @@ w.generate('###基本要求
...
@@ -55,5 +55,5 @@ w.generate('###基本要求
单项选择题40分(含公共基础知识部分10分)
单项选择题40分(含公共基础知识部分10分)
操作题60分(包括基本编程题和综合编程题)
操作题60分(包括基本编程题和综合编程题)
2.考试环境
2.考试环境
Windows7操作系统,建议 Python3.42至 Python3.53版本,IDLE开发环境。
'
)
Windows7操作系统,建议 Python3.42至 Python3.53版本,IDLE开发环境。
"
)
w
.
to_file
(
'mycloud.png'
)
w
.
to_file
(
'mycloud.png'
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment