From: YOKOTA Hiroshi 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.