Skip to content

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

Merged
barneygale merged 1 commit into
python: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 into
python:3.12from
barneygale:backport-c2d810b-3.12

Conversation

@barneygale

@barneygale barneygale commented Jun 13, 2024

Copy link
Copy Markdown
Contributor

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 <1324225+hugovk@users.noreply.github.com>.
(cherry picked from commit c2d810b)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
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