change directory,and parse arguments
debug python script