About 50 results
Open links in new tab
  1. os — Miscellaneous operating system interfaces — Python 3.14.2 ...

    Open file objects and descriptors are not flushed, so if there may be data buffered on these open files, you should flush them using sys.stdout.flush() or os.fsync() before calling an exec* function.

  2. File and Directory Access — Python 3.14.2 documentation

    3 days ago · The modules described in this chapter deal with disk files and directories. For example, there are modules for reading the properties of files, manipulating paths in a portable way, and …

  3. os.path — Common pathname manipulations — Python 3.14.2 …

    3 days ago · To read or write files see open(), and for accessing the filesystem see the os module. The path parameters can be passed as strings, or bytes, or any object implementing the os.PathLike …

  4. Tkinter Dialogs — Python 3.14.2 documentation

    2 days ago · The following classes and functions provide file dialog windows that combine a native look-and-feel with configuration options to customize behaviour. The following keyword arguments are …

  5. pathlib — Object-oriented filesystem paths — Python 3.14.2 …

    3 days ago · Python’s str and bytes types, and portions of the os and os.path modules, are written in C and are very speedy. pathlib is written in pure Python and is often slower, but rarely slow enough to …

  6. Built-in Functions — Python 3.14.2 documentation

    1 day ago · Python doesn’t depend on the underlying operating system’s notion of text files; all the processing is done by Python itself, and is therefore platform-independent.

  7. io — Core tools for working with streams — Python 3.14.2 …

    2 days ago · The above implicitly extends to text files, since the open() function will wrap a buffered object inside a TextIOWrapper. This includes standard streams and therefore affects the built-in …

  8. tempfile — Generate temporary files and directories — Python 3.14.2 ...

    2 days ago · mkstemp() returns a tuple containing an OS-level handle to an open file (as would be returned by os.open()) and the absolute pathname of that file, in that order.

  9. mmap — Memory-mapped file support — Python 3.14.2 documentation

    2 days ago · If you wish to map an existing Python file object, use its fileno() method to obtain the correct value for the fileno parameter. Otherwise, you can open the file using the os.open() function, …

  10. 10. Brief Tour of the Standard Library — Python 3.14.2 documentation

    Nov 11, 2025 · Be sure to use the import os style instead of from os import *. This will keep os.open() from shadowing the built-in open() function which operates much differently.