def timestamp_index(index):
 return ('%s-%s' % (index, datetime.datetime.now().strftime('%Y%m%d%H%M%S')))

def timestamp_index ( index ) : return ( '%s-%s' % ( index , datetime . datetime . now ( ) . strftime ( '%Y%m%d%H%M%S' ) ) )
returns index-yyyymmddhhmmss with the current time .