File out directory python
Add loops while and for