PYTHON The DirectoryIterator class

(0)
Python replacement for PHP's The DirectoryIterator class [ edit ]



Do you know a Python replacement for PHP's The DirectoryIterator class ? Write it!

PHP The DirectoryIterator class

PHP original manual for The DirectoryIterator class [ show | php.net ]

The DirectoryIterator class

Introduction

The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.

Class synopsis

DirectoryIterator
DirectoryIterator extends SplFileInfo implements Iterator , Traversable {
/* Methods */
__construct ( string $path )
DirectoryIterator current ( void )
int getATime ( void )
int getCTime ( void )
string getFilename ( void )
int getGroup ( void )
int getInode ( void )
int getMTime ( void )
int getOwner ( void )
string getPath ( void )
string getPathname ( void )
int getPerms ( void )
int getSize ( void )
string getType ( void )
bool isDir ( void )
bool isDot ( void )
bool isExecutable ( void )
bool isFile ( void )
bool isLink ( void )
bool isReadable ( void )
bool isWritable ( void )
string key ( void )
void next ( void )
void rewind ( void )
string valid ( void )
}

Table of Contents