Python - Unable to import '…' when __init__.py file is in directory

前端 未结 0 1060
情深已故
情深已故 2020-12-01 11:54

I have the following directory structure :

myproject
  __init__.py
  src
    __init__.py
    main.py
    common
      __init__.py
      logging
        __init         


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