FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Tools/test2to3/maintest.py at master · python-emscripten/cpython · GitHub
python-emscripten
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Tools
/
test2to3
/
maintest.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
10 lines (8 loc) · 250 Bytes
Breadcrumbs
cpython
/
Tools
/
test2to3
/
maintest.py
Copy path
File metadata and controls
executable file
·
10 lines (8 loc) · 250 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python3
# 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
()
Back
|
FazBrowse Home
|
New Git URL