Change Dir : Dircetories : File PYTHON examples


PYTHON examples » File » Dircetories »

 

Change Dir




import os

os.chdir('/server/accesslogs')

#Be sure to use the "import os" style instead of "from os import *". This will keep 
#os.open() from shadowing the builtin open() function which operates much 
#differently.



           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo File
» Dircetories