Added python code for args generator