Function Push Array Javascript Iterations In Python A Namespace