Questions tagged [file-read]

This tag can be used on questions about reading files.

To work with stored data, file handling belongs to the core knowledge of every programmer. One of the core file handling methods is reading a file.

Resources:

577 questions
-4
votes
1 answer

CSS file: I want to read css file from .aspx page

I am reading css file from aspx Login.aspx LoginWebForm
Mrunal
  • 103
  • 1
  • 10
-4
votes
3 answers

How to use Python read a text file and transfer to dictionary?

1. How do you like this product? As someone who wears glasses for distance, but not contacts I have struggled with vision on the slopes At this price, I'm very happy with the B1. They were very comfortable I wore these all winter for 10 weeks of…
Boomshakalaka
  • 370
  • 3
  • 16
-4
votes
1 answer

How to use data in a column to find average, max, min, etc?

I am trying to create a program that finds the max, min, average and the bmi of a data file. The file is 12 columns wide, however, I do not know how to use the data to create a bmi for each line? side note: I cannot use Pandas, I am required to…
-4
votes
2 answers

write array in python

I have a csv file that contains a list of data points. 1.3 5.0 15.35 14.3 9.8 4.4 7.6 9.87 How can I write a python program that can read the numbers in the csv file and make them into an array x so…
jms1980
  • 785
  • 1
  • 12
  • 31
-5
votes
2 answers

reading from a file using the input type=file in grails

Hi I have the following code in my grails gsp
Select the…
pri_dev
  • 10,215
  • 15
  • 65
  • 118
-6
votes
2 answers

Java - Reading a big file (few GB)

This question is very short. I have a file with a size of 4GB and at the moment I do read it with this code: public class Main { public static void main(String[] args) { byte[] content = null; try { content =…
Niton
  • 151
  • 4
  • 15
-7
votes
2 answers

Reading data from text line by line in java

I'm making a game in Java, but can't figure out how to get information from a text file so that I can load the game. I have the saved files set up so that on every line there is the name of a method in my Main program. What I need to do is to look…
hubbardh
  • 41
  • 6
1 2 3
38
39