Thanks for the help so far! I got up to this point in the code.
import glob
import csv
import sys
import array
x=1
signs=array.array('i',(0,)*31)
files = glob.glob('./*.csv')
file = open("all.csv", 'w')
for row in files:
if x<30:
signs[x]= x
x=x+1
print (signs[x])
file.close()
I have problems with printing the whole array. As I said, There are 29 files with 30 values each in the model :
1,2
2,9
3,20
4,6
5,2
There is no particular order or anything and numbers do repeat themselves. I need to print out the numbers and how many of them have actually repeated themselves. I seem to create the file all.csv but it appears to be empty. I am really new to python please don't rage at me. I searched for about 8 hours now (including previous code block which I deleted) but I appear to be stuck.
i=0:ori++work. It also looks like you're trying to read from a csv file, "all.csv", which you open for writing (and therefore erase before you read from it.)