Replace remaining python2.4 shebang lines.

Fixes #40.
diff --git a/expandsymlinks.py b/expandsymlinks.py
index 8213622..59d5ab0 100644
--- a/expandsymlinks.py
+++ b/expandsymlinks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/googleapiclient/errors.py b/googleapiclient/errors.py
index f832d62..e31ffe4 100644
--- a/googleapiclient/errors.py
+++ b/googleapiclient/errors.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python2.4
-#
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/googleapiclient/model.py b/googleapiclient/model.py
index df3efbb..46e3aec 100644
--- a/googleapiclient/model.py
+++ b/googleapiclient/model.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python2.4
-#
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/samples/audit/audit.py b/samples/audit/audit.py
index 13b9ccf..b59938d 100644
--- a/samples/audit/audit.py
+++ b/samples/audit/audit.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/blogger/blogger.py b/samples/blogger/blogger.py
index b556c88..e5279c8 100644
--- a/samples/blogger/blogger.py
+++ b/samples/blogger/blogger.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/coordinate/coordinate.py b/samples/coordinate/coordinate.py
index a9c3b96..722e894 100644
--- a/samples/coordinate/coordinate.py
+++ b/samples/coordinate/coordinate.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 #  Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/customsearch/main.py b/samples/customsearch/main.py
index a28cd25..5f0e649 100644
--- a/samples/customsearch/main.py
+++ b/samples/customsearch/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/prediction/prediction.py b/samples/prediction/prediction.py
index 50c1eba..a4bff3f 100644
--- a/samples/prediction/prediction.py
+++ b/samples/prediction/prediction.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/basic.py b/samples/searchforshopping/basic.py
index e764db6..5e080e8 100644
--- a/samples/searchforshopping/basic.py
+++ b/samples/searchforshopping/basic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/crowding.py b/samples/searchforshopping/crowding.py
index b2b4cd6..9ed2ea7 100644
--- a/samples/searchforshopping/crowding.py
+++ b/samples/searchforshopping/crowding.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/fulltextsearch.py b/samples/searchforshopping/fulltextsearch.py
index 006de1a..d84b303 100644
--- a/samples/searchforshopping/fulltextsearch.py
+++ b/samples/searchforshopping/fulltextsearch.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/histograms.py b/samples/searchforshopping/histograms.py
index 6a78418..da75b3b 100644
--- a/samples/searchforshopping/histograms.py
+++ b/samples/searchforshopping/histograms.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/main.py b/samples/searchforshopping/main.py
index 93b58c3..c1add4c 100644
--- a/samples/searchforshopping/main.py
+++ b/samples/searchforshopping/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/pagination.py b/samples/searchforshopping/pagination.py
index c2128d4..89bee7c 100644
--- a/samples/searchforshopping/pagination.py
+++ b/samples/searchforshopping/pagination.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/ranking.py b/samples/searchforshopping/ranking.py
index 41b9acd..4d84178 100644
--- a/samples/searchforshopping/ranking.py
+++ b/samples/searchforshopping/ranking.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/searchforshopping/restricting.py b/samples/searchforshopping/restricting.py
index eb13993..6d46b80 100644
--- a/samples/searchforshopping/restricting.py
+++ b/samples/searchforshopping/restricting.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/service_account/tasks.py b/samples/service_account/tasks.py
index 9c9e978..7de049d 100644
--- a/samples/service_account/tasks.py
+++ b/samples/service_account/tasks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/translate/main.py b/samples/translate/main.py
index 72bed44..ee67d40 100644
--- a/samples/translate/main.py
+++ b/samples/translate/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/samples/urlshortener/urlshortener.py b/samples/urlshortener/urlshortener.py
index 89d1115..9c75260 100644
--- a/samples/urlshortener/urlshortener.py
+++ b/samples/urlshortener/urlshortener.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
index a5f2541..de2e6b2 100644
--- a/tests/test_discovery.py
+++ b/tests/test_discovery.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/tests/test_errors.py b/tests/test_errors.py
index 3a3c3fd..efb4afd 100644
--- a/tests/test_errors.py
+++ b/tests/test_errors.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
diff --git a/tests/test_http.py b/tests/test_http.py
index b4bf007..e8a3580 100644
--- a/tests/test_http.py
+++ b/tests/test_http.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
diff --git a/tests/test_json_model.py b/tests/test_json_model.py
index fccd549..c8a985b 100644
--- a/tests/test_json_model.py
+++ b/tests/test_json_model.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
diff --git a/tests/test_mocks.py b/tests/test_mocks.py
index 7d1e8e6..4d9fd80 100644
--- a/tests/test_mocks.py
+++ b/tests/test_mocks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
 #
diff --git a/tests/test_model.py b/tests/test_model.py
index 6bc87be..9f29db9 100644
--- a/tests/test_model.py
+++ b/tests/test_model.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 # -*- coding:utf-8 -*-
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
diff --git a/tests/test_protobuf_model.py b/tests/test_protobuf_model.py
index 02544e1..fe3abc7 100644
--- a/tests/test_protobuf_model.py
+++ b/tests/test_protobuf_model.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
 #
 # Copyright 2014 Google Inc. All Rights Reserved.
 #