0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Demo/distutils/test2to3/maintest.py

11 lines
249 B
Python
Raw Normal View History

2008-12-01 05:44:45 +01:00
#!/usr/bin/env python
# The above line should get replaced with the path to the Python
# interpreter; the block below should get 2to3-converted.
try:
from test2to3.hello import hello
except ImportError, e:
print "Import failed", e
hello()