Top "File-handling" questions

file-handling is an abstraction of common actions such as creating, opening, closing, reading, updating, writing, comparing and deleting files

How to find EOF while reading from a file

I am using the following code to read a file in Go: spoon , err := ioutil.ReadFile(os.Args[1]) if err!=…

go file-handling
use of deleteOnExit() method in java

what is the difference between delete() and deleteOnExit() methods in java.io.File class in Java?

java file-handling
Why do I get a SIGABRT here?

I have this code segment in which I am opening/closing a file a number of times (in a loop): …

c linux debugging file-handling
Why does my Python code print the extra characters "" when reading from a text file?

try: data=open('info.txt') for each_line in data: try: (role,line_spoken)=each_line.split(':',1) print(…

python file-handling
Can BufferedReader read bytes?

Sorry if this question is a dulplicate but I didn't get an answer I was looking for. Java docs says …

java file-handling
Read created last modified time-stamp of a file using C#

Possible Duplicate: How to get Modified date from file in c# How do you, Read created / last modified time-stamp of …

c# file-handling
How do I add a file browser inside my Java application?

I am new to Java progamming and am building a application that will add, display and remove files from a …

java swing jfilechooser file-handling
Reading all files in all directories

I have the code working to read in the values of a single text file but am having difficulties reading …

python file file-handling directory-structure
Modifying a text file in a ZIP archive in Java

My use case requires me to open a txt file, say abc.txt which is inside a zip archive which …

java zip file-handling