sketch_path()#
The Sketch’s current path.
Description#
The Sketch’s current path. If the where
parameter is used, the result will be a subdirectory of the current path.
Result will be relative to Python’s current working directory (os.getcwd()
) unless it was specifically set to something else with the run_sketch() call by including a --sketch-path
argument in the py5_options
parameters.
Underlying Processing method: sketchPath
Signatures#
sketch_path() -> Path
sketch_path(
where: str, # subdirectories relative to the sketch path
/,
) -> Path
Updated on March 06, 2023 02:49:26am UTC