Things you (probably) didn't know about xargs
You can skip the pipe by using find's '-exec' option. It will save you the pipe.<p>The example: 
  "find . -name '*  .py' | xargs grep 'import'" 
would become 
  "find . -name '*  .py' -exec grep -H 'import' {} \;".<p>You need to include the -H in grep to get the filename in which the match occurs.