employer cover photo
employer logo

Pregunta de entrevista de SanDisk

How do u implement singleton in python

Respuesta de la entrevista

Anónimo

5 de nov de 2016

Just write a class and create obj for that and import that obj in other file. That obj will be imported only once and hence it is singleton