employer cover photo
employer logo

Pergunta de entrevista da empresa SanDisk

How do u implement singleton in python

Resposta da entrevista

Sigiloso

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