Skip to main content
Ctrl+K
NumPy v2.5.dev0 Manual - Home NumPy v2.5.dev0 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
    • numpy.exceptions
    • numpy.fft
    • numpy.linalg
    • numpy.polynomial
    • numpy.random
    • numpy.strings
    • numpy.testing
    • numpy.typing
    • numpy.ctypeslib
    • numpy.dtypes
    • numpy.emath
    • numpy.lib
      • numpy.lib.add_docstring
      • numpy.lib.add_newdoc
      • numpy.lib.Arrayterator
      • numpy.lib.NumpyVersion
      • numpy.lib.array_utils
      • numpy.lib.format
      • numpy.lib.introspect
      • numpy.lib.mixins
      • numpy.lib.npyio
        • numpy.lib.npyio.DataSource
        • numpy.lib.npyio.NpzFile
      • numpy.lib.scimath
      • numpy.lib.stride_tricks
    • numpy.rec
    • numpy.version
    • numpy.char
    • numpy.f2py
    • numpy.ma
    • numpy.matlib
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
  • Typing (numpy.typing)
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Testing guidelines
  • Status of numpy.distutils and migration advice
  • NumPy and SWIG
  • NumPy reference
  • NumPy’s module structure
  • Lib module (numpy.lib)
  • numpy.lib.npyio
  • numpy.lib.npyio.NpzFile
  • numpy.lib.npyio.NpzFile.close

numpy.lib.npyio.NpzFile.close#

method

lib.npyio.NpzFile.close()[source]#

Close the file.

previous

numpy.lib.npyio.NpzFile

next

numpy.lib.npyio.NpzFile.get

On this page
  • lib.npyio.NpzFile.close

© Copyright 2008-2026, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.1.