Working with Directories : Path : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Path »

 

Working with Directories


import os 
print os.path.join("c:\music\ap\""test.txt")  
print os.path.join("c:\music\ap""test.txt"
print os.path.expanduser("~")                         
print os.path.join(os.path.expanduser("~")"Python")



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Path