txt is the conventional filename extension of text files.
Questions tagged [txt]
1467 questions
1
vote
1 answer
Plotting from line to line with gnuplot
I have a .txt file in which two set of data are in the same column but divided by some characters, here an example:
#First set of data
#Time #Velocity
1 0.3
2 0.5
3 0.8
4 1.3
#Second set of data
#Time …

Andrea
- 135
- 6
1
vote
2 answers
Loop through the columns in R
I am trying to count how many 'S' appears in each column as 'downstream' from 1 to 10 rows and then as 'upstream' from 15 to 25.
Then I want to save the output in a text file.
Well, I managed to work out for a single example. Unfortunately, I have a…

student24
- 252
- 1
- 9
1
vote
1 answer
Import a txt file with negative numbers but the minus is the last char
I have to import a txt file in my SQL database but the negative numbers are written with minus at the end (for ex : 11.719,88- or 13.791,47-).
When I import, negative numbers are positive. All my calcultate datas are false...
In my preprocess…

CoulRaoul75
- 23
- 4
1
vote
0 answers
Why Python reads columns of the .txt as a single column?
I've just started learning Python and I need to open the dataset. The file is .txt. The problem is when I read the file, Python merges all its columns into one.
The original txt looks like this:
I write the code in the Jupyter-notebook.
datareader…

Polina
- 11
- 2
1
vote
2 answers
ParserError while parsing a large txt file with Pandas
I am trying to parse a large .txt file with Pandas. The file is 1.6 GB in size. You can download the file here (it is a GeoNames database dump of all countries and settlements).
In regard to loading and parsing the file in Pandas, I consulted the…

TransientBeing
- 13
- 2
1
vote
1 answer
Db2: How to reorder columns during import or load?
For eg:
Table has the 3 columns:
Name varchar(10),
ID int,
Place Varchar(10)
File has ID,name and place in a different order that as the table above:
1|Ram |Ayodhya
2|Rahul|Srilanka

sravanthi leela
- 11
- 5
1
vote
2 answers
Import equation from text file in R function
I am trying to load an equation from .txt file into an R function. The equations are very long but for sake of simplicity my test.txt file contains only a + b.
equation <- function(a,b) {
data <- read.delim("test.txt", header = F,…

pythonista
- 23
- 5
1
vote
1 answer
Getting text from PDF using Apache PDFBox
How can I get infromation about the structure of pdf, I mean text or pic? I need my programm to move pdf without text in other folder, but now I'm getting just an empty txt file.
try (FileWriter writer = new FileWriter(outputFile)) {
…

ComradDart
- 33
- 1
- 6
1
vote
1 answer
Iterating through txt files in directory, saving filenames
I'm iterating through files in a directory and would like to save the filename and some stuff I extract from the files in the same pandas dataframe. How can I save the names the txt files in a list (which I would then insert into pandas dataframe as…

est
- 25
- 4
1
vote
1 answer
How to export specific columns to text files in Google Sheets
I am trying to figure out how can I export the text from a specific column from Google Sheets to a Google Drive .txt file. I am trying to export all the text from all the columns so there would be a different .txt file on google drive for each…

Pikachu
- 25
- 5
1
vote
1 answer
I am trying to read a string encrypt it save it to a text file then read the text file read the encrypted string decrypt it in python
I am trying to read a string encrypt it save it to a text file then read the text file read the encrypted string decrypt it in python, I am using cryptography library, I think the error is because of python lists adding ["string"] at the beginning…

Prajwal Megalamani
- 21
- 4
0
votes
1 answer
how to save a matter number typed in tkinter textbox to a txt file and each new saved number to a new line
Every time I save a new matter number from the tkinter textbox to the txt file, it replaces the previous one. I need it to save on the next line. Below is the code I've tried. Please assist.
Thanks and All the best.
from tkinter import *
window =…
0
votes
2 answers
Create a text file and paste some specific data from a sheet into a renamed sheet
I have written a basic code in VB to filter out a specific text ("FIN") which I have to write in a .txt file and rename it using string from a cell in the same workbook but different sheet.
Below is the code i prepared to filter out and it works but…

PSP
- 1
- 1
0
votes
0 answers
Batch File SQL Loader DB Reset
Trying to simplify the process of creating batch files.
I have been tasked with Oracle SQL DB Resets.
The project currently uses batch files (.bat) to load table data (.txt) through SQL Loader.
So Data (.txt) will be placed in a DIR and I have to…

UntiedMy Mind
- 19
- 2
0
votes
0 answers
Js GraalJS create txt files
Is there a way on GraalJS to create a txt file.
https://github.com/oracle/graaljs/blob/master/docs/user/JavaScriptCompatibility.md
I'm using maestro which uses GraalJS as jsEngine: https://maestro.mobile.dev/advanced/javascript/graaljs-support
I…

Paul
- 3,644
- 9
- 47
- 113