remove python extension from the command

remove python extension from the command