Improving construction of argc and argv in python