Questions tagged [file-processing]
333 questions
-4
votes
3 answers
How do you split a list by space in python?
How do you split a list by space? With the code below, it reads a file with 4 lines of 7 numbers separated by spaces. When it takes the file and then splits it, it splits it by number so if i print item[0], 5 will print instead of 50. here is the…

Anthony Gomes
- 5
- 1
- 5
-4
votes
1 answer
file processing wit a standard
i will write an EFT system with java. I will read information from a file and file's content has a standard. For example;
# Number of banks
2
# BankID, InitialCashReserve
1 0
2 100
# EFTID, Amount, FromBankID, ToBankID
1 40 1 2
2 10 2 …

xxlali
- 996
- 2
- 15
- 43
-6
votes
1 answer
Reading a character and a string from a file in C
I am working on a project where I will have either read or write commands and then an address on a single line in a file. The format will be as follows:
R 0x...
W 0x...
And the file is thousands of lines long. I am attempting to read the command…

Jenks
- 53
- 8