Python之處理Win路徑解決方案

#! /usr/bin/python # coding: utf-8 import os win_path = "C:\python" filename = "beautifulgirl.txt" whole_path = os.path.join(win_path, filename) #print whole_path rst = win_path.split("\\") path = rs
相關文章
相關標籤/搜索