PyDocs

Nav

Data Types

ZoneInfo.from_file

zoneinfo

classmethod of ZoneInfonot WASI
  • ZoneInfo.from_file(file_obj, /, key=None)
Constructs a ZoneInfo object from a file-like object returning bytes (e.g. a file opened in binary mode or an io.BytesIO object). Unlike the primary constructor, this always constructs a new object.
0 Examples
No examples for zoneinfo/ZoneInfo.from_file.
See Also
No see-alsos for zoneinfo/ZoneInfo.from_file
0 Notes
No notes for ZoneInfo.from_file