[Python-checkins] cpython (3.2): Allow redemo.py to be used from the command line like other demos.
ned.deily
python-checkins at python.org
Sat Aug 18 21:25:41 CEST 2012
http://hg.python.org/cpython/rev/a225a27b0860
changeset: 78646:a225a27b0860
branch: 3.2
parent: 78643:cd9a4883dd02
user: Ned Deily <nad at acm.org>
date: Sat Aug 18 12:21:17 2012 -0700
summary:
Allow redemo.py to be used from the command line like other demos.
files:
Tools/demo/redemo.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Tools/demo/redemo.py b/Tools/demo/redemo.py
old mode 100644
new mode 100755
--- a/Tools/demo/redemo.py
+++ b/Tools/demo/redemo.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
"""Basic regular expression demostration facility (Perl style syntax)."""
from tkinter import *
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list