directory with slash or backslash in pycharm vs google colab

前端 未结 0 1322
轻奢々
轻奢々 2021-02-18 16:20

I have a basic question about using slash or backslash.

here is my code:

import os

path1 = r\'c:\\super\'
path2 = r\'c:/super\'

print(os.path.basename(pa         


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