name¶ In std/io. fn name(self: Path) : String The last segment of self: Path("data/birds.csv").name() is "birds.csv".