FileAttributes


Provides information about file, e.g. size, modification time

Syntax

C++
Python
 
def FileAttributes(
	inFile: str,
	/
)
-> (
	outSizeInKBytes: int,
	outSizeInBytes: int,
	outIsReadOnly: bool,
	outAccessTime: str,
	outModificationTime: str,
	outCreationTime: str,
	outAccessTimeValue: int,
	outModificationTimeValue: int,
	outCreationTimeValue: int
)

Parameters

Name Type Default Description
Input value inFile str Input file
Output value outSizeInKBytes int File size in kilobytes
Output value outSizeInBytes int File size in bytes
Output value outIsReadOnly bool Flag indicating whether the file is read-only
Output value outAccessTime str File access time
Output value outModificationTime str File modification time
Output value outCreationTime str File creation time, 0 on unix systems
Output value outAccessTimeValue int File access time value
Output value outModificationTimeValue int File modification time value
Output value outCreationTimeValue int File creation time value, 0 on unix systems