Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
python
/
testData
/
resolve
/
TupleInExcept.py
blob: 1ebd91de1cde02793b85153112647b10932d971c [
file
] [
log
] [
blame
]
import
errno
try
:
f
=
open
(
'myfile.txt'
)
s
=
f
.
readline
()
i
=
int
(
s
.
strip
())
except
IOError
as
(
errno
,
strerror
):
print
"I/O error({0}): {1}"
.
format
(
e
<
ref
>
rrno
,
strerror
)