jsonForDumb.py

This commit is contained in:
mega_krevetka committed 2026-04-16 16:25:01 +03:00
1 parent 931d7eecba
commit 1f06de1971
2 files changed
+35 -21

No files matched your search

+34 -20
View File
@@ -4,11 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="test"> <list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="jsonForDumb.py" />
<change afterPath="$PROJECT_DIR$/BotForTelegramm/jsonForDumb.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/BotForTelegramm/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/BotForTelegramm/main.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -51,20 +47,21 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent">{ <component name="PropertiesComponent"><![CDATA[{
&quot;keyToString&quot;: { "keyToString": {
&quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;, "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
&quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;, "ModuleVcsDetector.initialDetectionPerformed": "true",
&quot;Python.Fox_hahBot.executor&quot;: &quot;Run&quot;, "Python.Fox_hahBot.executor": "Run",
&quot;Python.filemanager.executor&quot;: &quot;Run&quot;, "Python.filemanager.executor": "Run",
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;, "Python.jsonForDumb.executor": "Run",
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;, "RunOnceActivity.ShowReadmeOnStart": "true",
&quot;git-widget-placeholder&quot;: &quot;main&quot;, "RunOnceActivity.git.unshallow": "true",
&quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;, "git-widget-placeholder": "main",
&quot;last_opened_file_path&quot;: &quot;C:/Users/Dream/python&quot;, "ignore.virus.scanning.warn.message": "true",
&quot;settings.editor.selected.configurable&quot;: &quot;com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable&quot; "last_opened_file_path": "C:/Users/Dream/python",
"settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
} }
}</component> }]]></component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="C:\Users\Dream\python" /> <recent name="C:\Users\Dream\python" />
@@ -200,7 +197,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1776344362602</updated> <updated>1776344362602</updated>
</task> </task>
<option name="localTasksCounter" value="15" /> <task id="LOCAL-00015" summary="jsonForDumb.py">
<option name="closed" value="true" />
<created>1776345626608</created>
<option name="number" value="00015" />
<option name="presentableId" value="LOCAL-00015" />
<option name="project" value="LOCAL" />
<updated>1776345626608</updated>
</task>
<task id="LOCAL-00016" summary="jsonForDumb.py">
<option name="closed" value="true" />
<created>1776345636447</created>
<option name="number" value="00016" />
<option name="presentableId" value="LOCAL-00016" />
<option name="project" value="LOCAL" />
<updated>1776345636447</updated>
</task>
<option name="localTasksCounter" value="17" />
<servers /> <servers />
</component> </component>
<component name="UpdateCopyrightCheckinHandler"> <component name="UpdateCopyrightCheckinHandler">
@@ -231,7 +244,8 @@
<MESSAGE value="del commments" /> <MESSAGE value="del commments" />
<MESSAGE value="test.json" /> <MESSAGE value="test.json" />
<MESSAGE value="test" /> <MESSAGE value="test" />
<option name="LAST_COMMIT_MESSAGE" value="test" /> <MESSAGE value="jsonForDumb.py" />
<option name="LAST_COMMIT_MESSAGE" value="jsonForDumb.py" />
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="true" /> <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" /> <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REARRANGE_BEFORE_PROJECT_COMMIT" value="true" /> <option name="REARRANGE_BEFORE_PROJECT_COMMIT" value="true" />
+1 -1
View File
@@ -1,4 +1,4 @@
import json import json
with open("jsontest", "w", encoding="utf-8") as f: with open("jsontest", "w", encoding="utf-8") as f:
json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) f.write(json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]))