One liner code for three level up in folder path

前端 未结 0 1094
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-12 11:19

Is there a one liner code to reach three level up of a path using python?

Currently my code is a three liner as I am using os.path.split and going step by step. However,

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