Questions tagged as 'txt'

1
answer

PHP can not process heavy files

I have a system in PHP that reads a TXT file, and performs a REPLACE in the database for each line, it does it well with small files (about 100 lines), however when I do with giant files (more than 1 Million lines) Chrome will have a white scree...
asked by 28.11.2018 / 13:41
1
answer

Save Json dictionary in txt

How can I save one. dictionary json from a requests in txt. I tried to do this way more did not work. import requests import json url = requests. get("https://search.ams.usda.gov/farmersmarkets/v1/data.svc/zipSearch?zip=46201") response = jso...
asked by 08.11.2018 / 03:57
1
answer

edit text file in cmd [pending]

I have a test.txt file D:\Tools\fonts D:\Tools\gui D:\Tools\guitex D:\Tools\table is there any command that edits the test.txt file to be this way? command###D:\Tools\fonts command###D:\Tools\gui command###D:\Tools\guitex command###D:\Too...
asked by 19.12.2018 / 12:18
1
answer

Parse txt file and return it in another file - Python [closed]

Good evening! It has a file with numbers, saved in txt format, each number separated by space, there being a list with about 50 values in each line of the txt file (and more than 10,000 lines in the file): 78 34 85 67 96 197 etc. I want to...
asked by 18.07.2018 / 02:12
1
answer

read txt files with php

I have the following situation: I have files in txt format, which are generated by another program and I will have to read line to line this file to generate payment tickets, in this file approximately I will have 40 columns with data. Well, for...
asked by 13.06.2018 / 15:04
1
answer

overwriting a certain line of the txt file

I am making a code where I need to delete a certain line in a text file ( .txt ) and put something else on that line, I would like to know how I can do it. Example: delete 2 line admin and type userNew        
asked by 28.05.2018 / 23:10
1
answer

Doubt with TreeView manipulation and delimited TXT files

I'm having a little difficulty with Delphi, I'm creating a very basic little application for managing accounts, games, emails, etc. It's pretty basic .. and I decided to use the TreeView schema as a list basis for the accounts, but I'm having a...
asked by 05.05.2018 / 18:15
1
answer

PYTHON - Value store, line by line, in txt

How do I store different values, line by line, in a txt file without deleting the old one?     
asked by 16.03.2018 / 17:59
2
answers

How to export a SQL table to a .txt file?

Good morning! I need to insert the return data of a Select into a .txt file containing the column names and separating the data with ";" How can I do this? Thank you in advance     
asked by 06.02.2018 / 13:46
1
answer

ListBox - Multiply values and move to another Listbox

I have 2 ListBoxes. When I pass a value to the other ListBox a screen opens to enter the amount I want from that product. That said, will get the amount * value and show in the other ListBox. CodethatloadsthelistBox:privatevoidfrmOrdem...
asked by 27.10.2017 / 18:34