Skip to main content

9 docs tagged with "file handling"

View All Tags

File Handling Basics

In this tutorial, you will learn how to read from and write to files in python. We will learn how to read text files, binary files, and write to text files using python.

Read Files in Python

Learn how to read from files in Python, including text files, binary files, and different read modes.

Reading and Writing Files in Java

In this tutorial, you will learn how to read from and write to files in Java. We will learn how to read text files, binary files, and write to text files using Java.

Serialization and Deserialization in Java

In this tutorial, you will learn about serialization and deserialization in Java. We will learn how to serialize and deserialize objects in Java using the `Serializable` interface and the `ObjectInputStream` and `ObjectOutputStream` classes.

Write to File

Learn how to write data to files in Python, including writing to a new file, writing in binary mode, appending to an existing file, and writing in reading and writing modes.