Skip to main content

Questions tagged [txt]

txt is the conventional filename extension of text files.

txt
0 votes
0 answers
24 views

How to save the text that the user enters in a text box using javascript and HTML only [duplicate]

I am making a journal website and there is a page where the user can enter any amount of text into a textbox. I want to save this text as a .txt file locally on the system when the user presses the ...
Lavi's user avatar
  • 13
-1 votes
0 answers
39 views

Comparing Input Variables to Text (and CSV) Files - Python

I am trying to receive an input from a user in a Python program, and compare it with a text file. I am learning about comparing data files, and need some help. First I import the data: import csv ...
Tariq Tayebi's user avatar
0 votes
0 answers
12 views

How to add content into txt/lcr that is ignored by players?

I'm trying to write LRC SyncedLyrics files per txt. I was wondering if I could add something that the player will ignore that looks like a timestamp but isn't. It's for organizing the timestamps when ...
Σαντυ Kuhl's user avatar
0 votes
0 answers
41 views

How to read a txt file in pandas where head fields are in lines? [duplicate]

I have a txt file like below, where some data have the ":" as value, and between each record there is two blank lines Serial# : 356899 LDEV : 0 SL : 0 CL : 0 VOL_TYPE : OPEN-V-CVS ...
Carlos Mazaro's user avatar
-1 votes
2 answers
74 views

appending string to txt file only appends first letter python

with open("words_alpha.txt", 'r') as f: your_result = [line.split(',') for line in f.read().splitlines()] for i in your_result: for word in i: x = len(word) print(word) if x ...
Soapy's user avatar
  • 29
0 votes
0 answers
15 views

run a vba through differents .txt files [duplicate]

I have code that removes quote marks (“) from a txt file but a have a long list of files to run this code. Option Explicit Sub Sample() Dim MyData As String Dim FlName As String '...
Matheus Donizeti's user avatar
0 votes
0 answers
18 views

Extract file name hierarchy from .zip to .txt using cmd

I have a multi layer archive and I want to make a text file that shows it's hierarchy preferably through command prompt but if there are online tools or this requires some other tool like VS to be ...
Benedicts Forester's user avatar
1 vote
0 answers
34 views

How do I properly incorporate text from a .txt file in angular?

For a college project ive been trying to build a website with angular. Said website will incorporate a lot of text, which is why i thought it might be a good idea to get that text from a txt file ...
Harry Budder's user avatar
1 vote
3 answers
105 views

Why does the list.files() function return files that can not be found?

I am trying to use the base R function list.files() to return a list of file names (.txt files) so that I can import them in an automated way instead of writing a read.table() line per file. Here is ...
AngryBeaker's user avatar
0 votes
2 answers
66 views

Subscript out of Range error when writing an array from a txt file into a spreadsheet

I have a function within an Excel spreadsheet that pulls data from a fixed width txt file and pastes it into a spreadsheet. The function currently stores each set of data into an array and pastes it ...
Larcen60's user avatar
0 votes
1 answer
57 views

Warning message when using map_df to read .txt files "line appears to contain embedded nulls"

I'm working with a loop that reads .txt files in different folders through the map_df function, but for some folders only there's the warning message "line 'x' appears to contain embedded nulls&...
banzecoleco's user avatar
0 votes
1 answer
42 views

Text files, how to write, delete and update lines in a text file

I am writing a small discord bot for me and my friends but I have gotten carried away with it's feautres and right now am trying to create commands that will allow the user to ask to look at a "...
ph3onixleader's user avatar
0 votes
2 answers
83 views

How to remove certain line numbers from a file and save the file using the inputfilename in batch

I'm trying to edit a txt file by removing certain line numbers from it. i would like to search for all files in the folder containing .txt, remove some lines and than save the file using the ...
Desz5's user avatar
  • 3
0 votes
1 answer
42 views

How to get a text file from javascript

I have a txt file, like this: Test 1 "SCH4U , BSK4U1" [email protected] 12 9:00 - 12:00 Test 2 MPH4U [email protected] 10 10:00 - 12:00 Want to know, how to reference the text file, ...
Parth Joshi's user avatar
-2 votes
1 answer
34 views

Write a dataframe in txt on left margin

I want to create a dataframe like this: df_finale = pd.DataFrame({'col0': '#define ', 'col1': var, 'col2': ' ', 'col3': var1}) where var is a dataframe of string and var1 is a dataframe made with ...
Inuyasha84's user avatar

15 30 50 per page
1
2 3 4 5
101