Skip to content

[3.12] GH-119054: Add "Creating files and directories" section to pathlib docs. (GH-120186)#120464

Merged
barneygale merged 1 commit intopython:3.12from
barneygale:backport-c2d810b-3.12
Jun 13, 2024
Merged

[3.12] GH-119054: Add "Creating files and directories" section to pathlib docs. (GH-120186)#120464
barneygale merged 1 commit intopython:3.12from
barneygale:backport-c2d810b-3.12

Conversation

@barneygale
Copy link
Copy Markdown
Contributor

@barneygale barneygale commented Jun 13, 2024

Add dedicated subsection for pathlib.Path.touch(), mkdir(), symlink_to() and hardlink_to(). Also note that open(), write_text() and write_bytes() are often used to create files.

(cherry picked from commit c2d810b)


📚 Documentation preview 📚: https://cpython-previews--120464.org.readthedocs.build/

…to pathlib docs. (pythonGH-120186)

Add dedicated subsection for `pathlib.Path.touch()`, `mkdir()`,
`symlink_to()` and `hardlink_to()`. Also note that `open()`, `write_text()`
and `write_bytes()` are often used to create files.

Co-authored-by: Hugo van Kemenade <[email protected]>.
(cherry picked from commit c2d810b)

Co-authored-by: Barney Gale <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant