In [1]:
from scidbpy import connect
sdb = connect('http://localhost:8080')

In [2]:
#arreglo = dir(sdb.arrays)
#arreglo
arreglo = ["array1","array2"]

In [3]:
for line in arreglo:
 try:
  sdb.iquery('remove('+line+')')
 except:
  print("ScyDB doesnt contain array: "+line)


ScyDB doesnt contain array: array1
ScyDB doesnt contain array: array2