Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/handling-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Click supports working with files with the {class}`File` type. Some notable feat
This is a common pattern for POSIX command line utilities.
- Deals with `str` and `bytes` correctly for all versions of Python.

The command receives each file as a file object, which it can read or write directly. To get the path given on the
command line, use the {class}`Path` type.

Example:

```{eval-rst}
Expand Down
Loading