User Profile
Collapse
-
Sadly still no luck, same error. -
ValueError: too many values to unpack...
Hi everybody, I have a python script I developed for work, that organises sound samples and out puts them to a text file.
Here is an example input file:Where the first set of numbers after the comma is the duration of the sound in seconds, and the last number...Code:Sound001,15,6 Sound002,15,6 Sound003,30,3 Sound004,30,3 Sound005,30,3 Sound006,60,6 Sound007,60,6 Sound008,60,6
-
You mean something like:
...Code:bool Flag; int Total_Time, do { if (Count<Sound1_MinimumInstance) { "Sound"; Total_time=Total_time+Time_of_Sound1; Flag=True; } else if (Count<Sound1_MinimumInstance) { "Sound 2" Total_time=Total_time+Time_of_Sound2; Flag=True; } //etc Count++;Leave a comment:
-
C++, timetabling data, bin picking algorithm
I am trying to create C++ application that takes information from a text file (mainly a csv file from excel), performs some basic math, then sorts the data, puts it into a list, to a a text file again.
What I am having problems with is the sorting the data into a list.
The detail; the text file contains information on sound files such as their title, duration (in seconds), minium total time to be played (in minutes)....
No activity results to display
Show More
Leave a comment: