micropython-lib/pickle/test_pickle.py

8 wiersze
97 B
Python

import pickle
import sys
import io
pickle.dump({1:2}, sys.stdout)
print(pickle.loads("{4:5}"))