32,000 results
Open links in new tab
  1. Python open () Function - W3Schools

    The open() function opens a file, and returns it as a file object.

  2. Built-in Functions — Python 3.11.18 documentation

    Built-in Functions ¶ The Python interpreter has a number of functions and types built into it that are always available. They are listed …Read more

  3. Python with open () as file: Read, Write, Append

    Oct 19, 2026 · Python with open as file explained: read and write files safely, file modes, errors, the encoding trap, two files at once …Read more

  4. Python open() Function - GeeksforGeeks

    Jun 26, 2026 · open () function is used to open a file in Python. It allows you to read data from a file, write new data, append content …Read more

  5. File and Directory Access — Python 3.15.2 documentation

    2 days ago · See also Module os Operating system interfaces, including functions to work with files at a lower level than Python file …Read more

  6. open () | Python’s Built-in Functions – Real Python

    The built-in open () function in Python is used to open a file and return a corresponding file object. This function allows you to read …Read more

  7. How to open a file using the with statement - GeeksforGeeks

    Jul 23, 2025 · While using open () we need to explicitly close an opened file instance, else other parts of code may face errors while …Read more

  8. Python open () Function - Online Tutorials Library

    The Python open() function is a built-in function that is used to open a file and return its corresponding file object. To perform file …Read more

  9. Welcome to Python.org

    Docs Documentation for Python's standard library, along with tutorials and guides, are available online. docs.python.org

  10. Python File Open - W3Schools

    Open a File on the Server Assume we have the following file, located in the same folder as Python: demofile.txt Hello! Welcome to …Read more