Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read from a file-like object #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 25, 2024

  1. Add support to read file-like object

    __init__ arg switched from filename to file:
      If `file` is a string, opens the file by that name,
      otherwise if `file` is set, treat it as a file-like object
      (one that implements methods seek, read, tell).
    
    Add `filename` property that returns a string only if
    this GuanoPy object references a file by its filename.
    This is settable if you want to write a "new" file.
    IamJeffG committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    d5b58b8 View commit details
    Browse the repository at this point in the history