Skip to content

FilePickerFile

A file selected via the FilePicker

Properties

Properties#

id instance-attribute #

id: int

Unique file identifier.

name instance-attribute #

name: str

File name without a path.

path class-attribute instance-attribute #

path: Optional[str] = None

Full path to a file.

Note

Works for desktop and mobile only. Will be None in web mode.

size instance-attribute #

size: int

File size in bytes.