Reading a “library-local” text file when library is imported by another file (importlib.resources)

后端 未结 0 1022
滥情空心
滥情空心 2020-12-22 04:31

I have a library that has a structure like this:

- gps
  - static
    - __init__.py
    - datafile.dat
  - __init__.py
  - gps.py

In gp

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