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" />
</component>
<component name="ChangeListManager">
<list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="test">
<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>
<list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="jsonForDumb.py" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -51,20 +47,21 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
&quot;Python.Fox_hahBot.executor&quot;: &quot;Run&quot;,
&quot;Python.filemanager.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/Dream/python&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
"ModuleVcsDetector.initialDetectionPerformed": "true",
"Python.Fox_hahBot.executor": "Run",
"Python.filemanager.executor": "Run",
"Python.jsonForDumb.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "main",
"ignore.virus.scanning.warn.message": "true",
"last_opened_file_path": "C:/Users/Dream/python",
"settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
}
}</component>
}]]></component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\Users\Dream\python" />
@@ -200,7 +197,23 @@
<option name="project" value="LOCAL" />
<updated>1776344362602</updated>
</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 />
</component>
<component name="UpdateCopyrightCheckinHandler">
@@ -231,7 +244,8 @@
<MESSAGE value="del commments" />
<MESSAGE value="test.json" />
<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="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REARRANGE_BEFORE_PROJECT_COMMIT" value="true" />
+1 -1
View File
@@ -1,4 +1,4 @@
import json
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)}]))