Intermediate for python script