How to replace __file__ with importlib_resources?

前端 未结 0 1758
天涯浪人
天涯浪人 2021-02-18 15:37

After switching to Python 3.7, I need to replace all previous codes where resources are accessed via __file__ with the new importlib_resources method.

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