1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Fri, 4 Mar 2022 02:27:04 +0900
Subject: Use Python 3
Forwarded: not-needed
---
examples/forms/echo.cgi | 2 +-
examples/forms/example.py | 2 +-
examples/forms/simple.py | 2 +-
examples/hack21.py | 2 +-
examples/pypi.py | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/forms/echo.cgi b/examples/forms/echo.cgi
index d132129..7e95e2e 100755
--- a/examples/forms/echo.cgi
+++ b/examples/forms/echo.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*-python-*-
print "Content-Type: text/html\n"
diff --git a/examples/forms/example.py b/examples/forms/example.py
index 1d0c490..be88c36 100755
--- a/examples/forms/example.py
+++ b/examples/forms/example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import sys
diff --git a/examples/forms/simple.py b/examples/forms/simple.py
index 771b7ba..1a8ce38 100755
--- a/examples/forms/simple.py
+++ b/examples/forms/simple.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import sys
diff --git a/examples/hack21.py b/examples/hack21.py
index 161ca17..d117145 100644
--- a/examples/hack21.py
+++ b/examples/hack21.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Port of Hack 21 from the O'Reilly book "Spidering Hacks" by Tara
# Calishain and Kevin Hemenway. Of course, there's no need to explicitly
diff --git a/examples/pypi.py b/examples/pypi.py
index b17352a..ea5adb5 100644
--- a/examples/pypi.py
+++ b/examples/pypi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Search PyPI, the Python Package Index, and retrieve latest mechanize tarball.
|