+ # Print the table name but leave the cursor in a fixed column
+ print table_name + '...', ' ' * (40 - len(table_name)),
+
+ try:
+ csvfile = open("%s/%s.csv" % (dir, table_name), 'rb')
+ except IOError:
+ # File doesn't exist; don't load anything!
+ print 'no data!'
+ continue