remove .pyc file and add ignore rule