We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Get the parent directory of the given path
import "file" print file.parent("/home/user/docs/report.txt") // "/home/user/docs"
There was an error while loading. Please reload this page.