python textwrap — break up path name on / character

前端 未结 0 1734
余生分开走
余生分开走 2021-02-07 10:37

I would like to use the textwrap package to break up a long directory path e.g.,:

\'/Users/xxx/PycharmProjects/analysis/one_long_dir_name/another_lon         


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