Commit 45d2d024 by BellCodeEditor

auto save

parent e39f95c4
my_cloud.py
\ No newline at end of file
...@@ -24,18 +24,18 @@ ...@@ -24,18 +24,18 @@
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" /> <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component> </component>
<component name="RunManager"> <component name="RunManager">
<configuration name="my_cloud" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="my_cloud.py" type="PythonConfigurationType" factoryName="Python" singleton="false">
<module name="level3-lesson21-diy1" />
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" /> <option name="PARENT_ENVS" value="true" />
<envs> <envs>
<env name="PYTHONUNBUFFERED" value="1" /> <env name="PYTHONUNBUFFERED" value="1" />
</envs> </envs>
<option name="SDK_HOME" value="" /> <option name="SDK_HOME" value="C:\Users\yd\AppData\Local\Programs\Python\Python37\python.exe" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" /> <option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<module name="" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/my_cloud.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/my_cloud.py" />
<option name="PARAMETERS" value="" /> <option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" /> <option name="SHOW_COMMAND_LINE" value="false" />
...@@ -45,11 +45,6 @@ ...@@ -45,11 +45,6 @@
<option name="INPUT_FILE" value="" /> <option name="INPUT_FILE" value="" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<recent_temporary>
<list>
<item itemvalue="Python.my_cloud" />
</list>
</recent_temporary>
</component> </component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager"> <component name="TaskManager">
...@@ -63,22 +58,26 @@ ...@@ -63,22 +58,26 @@
<servers /> <servers />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state width="1515" height="210" key="GridCell.Tab.0.bottom" timestamp="1620822654987"> <state x="549" y="167" key="FileChooserDialogImpl" timestamp="1620887855953">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state width="1515" height="210" key="GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824" timestamp="1620822654987" /> <state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824@0.0.1536.824" timestamp="1620887855953" />
<state width="1515" height="210" key="GridCell.Tab.0.center" timestamp="1620822654987"> <state width="1515" height="210" key="GridCell.Tab.0.bottom" timestamp="1620894023161">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state width="1515" height="210" key="GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824" timestamp="1620822654987" /> <state width="1515" height="210" key="GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824" timestamp="1620894023161" />
<state width="1515" height="210" key="GridCell.Tab.0.left" timestamp="1620822654987"> <state width="1515" height="210" key="GridCell.Tab.0.center" timestamp="1620894023161">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state width="1515" height="210" key="GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824" timestamp="1620822654987" /> <state width="1515" height="210" key="GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824" timestamp="1620894023161" />
<state width="1515" height="210" key="GridCell.Tab.0.right" timestamp="1620822654987"> <state width="1515" height="210" key="GridCell.Tab.0.left" timestamp="1620894023161">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state width="1515" height="210" key="GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824" timestamp="1620822654987" /> <state width="1515" height="210" key="GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824" timestamp="1620894023161" />
<state width="1515" height="210" key="GridCell.Tab.0.right" timestamp="1620894023161">
<screen x="0" y="0" width="1536" height="824" />
</state>
<state width="1515" height="210" key="GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824" timestamp="1620894023161" />
<state x="270" y="57" key="SettingsEditor" timestamp="1619753937072"> <state x="270" y="57" key="SettingsEditor" timestamp="1619753937072">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
......

125 Bytes | W: | H:

79.6 KB | W: | H:

6x2.png
6x2.png
6x2.png
6x2.png
  • 2-up
  • Swipe
  • Onion skin
import wordcloud import wordcloud
w = wordcloud.WordCloud(background_color='white') from PIL import Image
with open('python二级考试大纲.txt','r',encoding=utf-8) as f: import numpy
text = f.read() img= Image.open('bell.png')
date = numpy.array(img)
w = wordcloud.WordCloud(background_color='white',font_path='SimHei.ttf',mask=date)
with open('python二级考试大纲.txt','r',encoding='utf-8') as f:
text = f.read()
w.generate(text) w.generate(text)
w.to_file() w.to_file('mycloud.png')
\ No newline at end of file \ 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