M
M
M1zukage2020-05-28 17:26:06
Python
M1zukage, 2020-05-28 17:26:06

How to save a dictionary in txt format in Python?

Hello, how to save a dictionary in txt format in Python?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2020-05-28
@M1zukage

  1. dict -> json.dump -> to file
  2. Pickle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question