Share a dict with multiple Python scripts

后端 未结 8 1174
予麋鹿
予麋鹿 2020-12-14 11:31

I\'d like a unique dict (key/value) database to be accessible from multiple Python scripts running at the same time.

If script1.py updates

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 12:11

    Before there was redis there was Memcached (which works on windows). Here is a tutorial. https://realpython.com/blog/python/python-memcache-efficient-caching/

提交回复
热议问题