Checking python files a bit more explicitly