Questions tagged [data-files]

209 questions
0
votes
2 answers

How to add data fields in a tuple with calculations involved in python

The snippet below works with an old data format however, I am trying to read an updated datasource.txt with an additional data field. I tried regex but cant seem to have it working. data = {} with open('datasource.txt') as f: for line in f: …
rbutrnz
  • 383
  • 4
  • 20
0
votes
3 answers

Reading data-file with new header in the middle of the file

I have a .txt data-file which contains a number of columns with different headers. I can read the file with all columns and rows. However, my problem is that the file contains an additional header with three columns, appended at the last row of the…
Chr0203
  • 1
  • 3
0
votes
1 answer

Make data files record undeletable in Odoo

I want to load data files with existing records in odoo and I want to prevent the user from deleting it
0
votes
1 answer

How to save a non txt file in data/files folder in android

A way to save a non text file to /data/files folder. If file resource is from assets folder.
eunique0216
  • 875
  • 1
  • 16
  • 28
0
votes
1 answer

Python data manipulation for unusual data format

I've been trying to figure out how to manipulate this slightly unusually formatted data into a plottable format using just python (I'd been doing in with a shell script using sed and the like, but I want to be doing all my scripting in python…
0
votes
0 answers

How to read an integer/double data type from a .dat file?

How to read integer/double data type from a .dat file ? I used a Java program to creat a binary file and wrote an int data into it and now I am trying to open the file using Notepad/MS Word it's showing the character equivalent as ASCII value of the…
0
votes
0 answers

How to read in a lot of .plt files (whose titles are not neatly consecutive) with Python?

(This question has been edited) I have 60 .plt files whose titles are not quite neatly consecutive, so this solution wouldn't work. What's the quickest way to automatically load them in order? I kinda hope I can put them all into a folder and write…
Paw in Data
  • 1,262
  • 2
  • 14
  • 32
0
votes
1 answer

Jmeter Timer at EOF?

Does anyone know if its possible to add a timer within a test which only runs when a datafile reaches EOF? i.e. multiple threads running through a test, accessing 1 data file. When the file reaches the end, before looping back to the beginning, it…
Mike
  • 51
  • 1
  • 6
0
votes
1 answer

Microsoft Custom Translator: "The document '._..._...txt' is not a valid text file as it contains one or more invalid characters"

When using the zip file format to combine two parallel files, after data file upload we get the error message: The document '._{name}_{lang}.txt' is not a valid {type} file as it contains one or more invalid characters.
0
votes
1 answer

Easy/Robust method for Settings Data File in C++

I have a question on easy practices to read a settings.dat file in a c++ software. In my main c++ program, I declare global variables, read settings.dat file for settings of my run and then do various things on many data…
0
votes
1 answer

Vertica S3 Export - Order of the columns in the exported file

I am using Vertica S3 Export function to dump the table data into multiple files on S3. As I need the complete table, I just pass * to the function instead of the column names (also it would be tedious to give the column list, count is 100 +) I am…
Valli
  • 1
0
votes
1 answer

Clicking on element not triggering event in Selenium Python (Event Key is not in datafile)

I have a problem of whenever i want to click on an button element it does not trigger the event. In my case I am trying to add an item to the cart. A size needs to be clicked first before clicking the add to cart button. I am using chrome headless…
0
votes
0 answers

How can I get top 3 value with selection of combobox in C# from database

I want to select combobox items and want to show top 3 possibilities on datagridview according to my selections in c# 2010 express. I created database using C#. private void add_button_Click(object sender, EventArgs e) { …
O.Engineer
  • 23
  • 7
0
votes
0 answers

Unable to connect the Entity Data Model to a SQL Server database file

I created a .mdf database file using VS 2017 on a developer workstation. I then copied it across to a different workstation and then tried to use VS2017 to connect to the .mdf data file again and generate an Entity Data Model. I get the error…
ErickTreetops
  • 3,189
  • 4
  • 27
  • 37
0
votes
2 answers

Storing integers inside a data file into an array Java

I am trying to store integers from a data file into an array. I am using Java Eclipse IDE. Here is my data file: (oddsAndEvens.dat) 2 4 6 8 10 12 14 1 2 3 4 5 6 7 8 9 2 10 20 21 23 24 40 55 60 61 Here is my code: import java.io.File; import…
Razmon
  • 61
  • 6