Read and return a Unicode string from reading the path.
(self, encoding)
| 365 | return f.read() |
| 366 | |
| 367 | def read_text(self, encoding): |
| 368 | class="st">""class="st">"Read and return a Unicode string from reading the path."class="st">"" |
| 369 | with self.open(class="st">"r", encoding=encoding) as f: |
| 370 | return f.read() |
| 371 | |
| 372 | def read(self, mode=class="st">"r"): |
| 373 | class="st">""class="st">"Read and return a bytestring from reading the path."class="st">"" |