chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

Singleton in Python

2017-05-19

There are a couple of ways of creating Singleton in Python:

  • use module
  • use __new__
  • use metaclass
  • use decorator

Reference

http://python.jobbole.com/87514/
http://www.arkilis.me

arkilis

Make Your Comments