How to use classes/dataclasses for structured data in python

后端 未结 0 1661
生来不讨喜
生来不讨喜 2021-01-05 15:08

I have some data that I need to structurize, what I have now is below:

class Data1:
    name: str = ""
    file: str = ""

    class Data2         


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