del commments
This commit is contained in:
1 parent
50930062f4
commit
acd9bc0829
2 files changed
+23
-12
No files matched your search
@@ -1,11 +1,7 @@
|
||||
def save_to_file(name, data):
|
||||
# начало
|
||||
with open(name, "w", encoding="utf-8") as file:
|
||||
file.write(data)
|
||||
|
||||
|
||||
# конец
|
||||
|
||||
def load_from_file(name):
|
||||
data = ""
|
||||
with open(name, "r", encoding="utf-8") as file:
|
||||
|
||||
Reference in new issue
Block a user