start python script for arbitrary n