How do I let my python package identify if it is imported in script file or notebook file?

前端 未结 0 951
醉酒成梦
醉酒成梦 2021-01-15 02:37

I have developed a basic python package recently. I want my package to identify if it is imported in python script file or python notebook file.

This is for displayin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题