NodeBox
Create visual output with Python programming code
GO
Home
Download
Reference
Tutorial
Library
Gallery
Share
About
Reference | files()
Syntax
files
(
path
)
Description
Retrieves all files from a given path and returns their names as a list.
Returns
a list with the names of the files in the given path
Example
f =
files
(
"images/*.jpg"
)
image
(
choice
(
f
)
,
10
,
10
)