def generate_datafile(number_items=20000):
 from utils import generate_dataset_shelve
 filename = 'samples.shelve'
 dataset = generate_dataset_shelve(filename, number_items)
 print ('%s generated with %d samples' % (filename, number_items))

def generate_datafile ( number_items = 20000 ) : from utils import generate_dataset_shelve filename = 'samples.shelve' dataset = generate_dataset_shelve ( filename , number_items ) print ( '%s generated with %d samples' % ( filename , number_items ) )
create the samples .