Read and return a bytestring from reading the path.
(self)
| 360 | return self._getbyspec(class="st">"ext")[0] |
| 361 | |
| 362 | def read_binary(self): |
| 363 | class="st">""class="st">"Read and return a bytestring from reading the path."class="st">"" |
| 364 | with self.open(class="st">"rb") as f: |
| 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">"" |