文件操作

__FILENAME__                __file__
dir()                       os.getcwd()
file_exist                  os.path.isfile()
is_dir                      os.path.exist()
fopen                       open   
fgets                       readline()
fgetc                       read(n) 
scandir                     os.listdir()
opendir                           
readdir
filetype
ulink                       os.remove
file_get_contents             
file_put_contents
umask 022
touch                        mknod
mkdir                        os.mkdir
DIRECTORY_SEPARATOR          os.spe
                             flush
posted @ 2016-09-29 15:20  UCanBeFree  阅读(108)  评论(0编辑  收藏  举报