Is from os import path importing a class called 'path' or importing a function called 'path'

后端 未结 0 1665
被撕碎了的回忆
被撕碎了的回忆 2020-12-30 12:54

I\'ve been confused about this for a while now, I still have no idea what from x import y really means. All I know is that it imports y from the file x(?)

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