About 52 results
Open links in new tab
  1. mimetypes — Map filenames to MIME typesPython 3.14.3 ...

    2 days ago · Guess the extension for a file based on its MIME type, given by type. The return value is a string giving a filename extension, including the leading dot ('.').

  2. File and Directory Access — Python 3.14.3 documentation

    2 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. File Formats — Python 3.14.3 documentation

    5 days ago · File Formats ¶ The modules described in this chapter parse various miscellaneous file formats that aren’t markup languages and are not related to e-mail.

  4. Python on Windows FAQ — Python 3.14.3 documentation

    On Windows, the standard Python installer already associates the .py extension with a file type (Python.File) and gives that file type an open command that runs the interpreter (D:\Program …

  5. IDLE — Python editor and shell — Python 3.14.3 documentation

    2 days ago · (If your file manager is set to hide extensions, the current extension will be omitted in the file name box. If the new filename has no ‘.’, ‘.py’ and ‘.txt’ will be added for Python and text files, …

  6. Library and Extension FAQ — Python 3.14.3 documentation

    2 days ago · Python file objects are a high-level layer of abstraction on low-level C file descriptors. For most file objects you create in Python via the built-in open() function, f.close() marks the Python file …

  7. Python 3.14.3 documentation

    2 days ago · This page is licensed under the Python Software Foundation License Version 2. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD …