Top "File-io" questions

File I/O is input/output that involves the file system.

How to open a file using the open with statement

I'm looking at how to do file input and output in Python. I've written the following code to read a …

python file python-3.x file-io io
Easiest way to read from and write to files

There are a lot of different ways to read and write files (text files, not binary) in C#. I just …

c# .net string file file-io
Read whole ASCII file into C++ std::string

I need to read a whole file into memory and place it in a C++ std::string. If I were …

c++ string caching file-io standard-library
Is there a way to check if a file is in use?

I'm writing a program in C# that needs to repeatedly access 1 image file. Most of the time it works, but …

c# .net file file-io file-locking
How do I get the directory from a file's full path?

What is the simplest way to get the directory that a file is in? I'm using this to set a …

c# .net file file-io directory
Read/Write String from/to a File in Android

I want to save a file to the internal storage by getting the text inputted from EditText. Then I want …

java android string file-io
Java: How to read a text file

I want to read a text file containing space separated values. Values are integers. How can I read it and …

java arraylist file-io text-files
Deleting a file in VBA

Using VBA, how can I: test whether a file exists, and if so, delete it?

vba file-io delete-file file-exists
How to read and write into file using JavaScript?

Can anybody give some sample code to read and write a file using JavaScript?

javascript file-io
Read a file one line at a time in node.js?

I am trying to read a large file one line at a time. I found a question on Quora that …

javascript node.js file-io lazy-evaluation