python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Searching for float value in .txt file
I have a program that saves a .txt log with multiple values and text. Those are time values can differ each time the program is ran, but their place in this .txt file is always the same. I need to gra...
Redal_Snake
Votes: 0
Answers: 1
How to filter for columns using awk while keeping header line?
I have a file that looks like this. The file has 26 columns and ~4000 rows. I want to filter to keep the header (id to pc15) as well as filter to obtain the columns $1, $2, $12,$13,$14,$15,$16,$17,$18...
HKJ3
Votes: 0
Answers: 5
Q: How to find the next word of a specific word in a txt-file
New here!
I am searching for the following or the next word for the word "I". Ex "I am new here" -> the next word is "am".
import re
word = 'i'
with open('tedtalk.txt'...
Mike
Votes: 0
Answers: 3