basicproperty.standard.fileproperty
index
p:\properties\basicproperty\standard\fileproperty.py

XXX Lots left to do here
 
* Create a more efficient way of specifying the various boundaries
* Support for saving/restoring open file connections
* Support for defining UI-specific values in the property
        * Should overwrite silently?
        * Should append extension if doesn't match a glob
        * Extensions/types for use in selection dialogs
        * Allow creation of intermediate directories (require parent to exist or not)
* Should have basic support in form of a "Path" class for
  Interacting with the paths in an object-oriented way
        * Support for standard os and os.path queries
                * listdir
                * isfile/dir/symlink
                * create sub-directory
                * join-with-string to get sub-path
                * absolute-path -> Path object
                        * support .. and . directory resolution (and elimination)
        * Mime-types
        * ftype and assoc values
        * comparisons
                * parent, child -> boolean
                * shared path -> fragments
                * shared root -> boolean
        * open( *, ** )
                * for directories, create/open file based on standard file() call
                * for zipfile-embedded paths, use zipfile transparently to create/open sub-file
                * for directories, create the directory (possibly recursively)
                * for files, error normally, possibly useful for things
                  like zipfiles and db-interface files which want to provide
                  directory-like interface
        * file( name ) -> Path
                * create a sub-file path
        * sub( name ) -> Path
                * create a sub-directory path
 
        * newfile( name, *, **)
        * newsub( name, *, ** )
                * create a new sub-directory Path object
                * for real directories, also
* Eventually support zipfiles as Directory paths

 
Modules
       
basicproperty.basic
basictypes.vfs.filepath
os