apptools.io.file module¶
A representation of files and folders in a file system.
-
class
apptools.io.file.
File
(path, **traits)[source]¶ Bases:
traits.has_traits.HasPrivateTraits
A representation of files and folders in a file system.
-
create_folder
()[source]¶ Creates a folder at this path.
All intermediate folders MUST already exist.
-
create_folders
()[source]¶ Creates a folder at this path.
This will attempt to create any missing intermediate folders.
-