Basic Examples
(
2
)
Start a Python session:
I
n
[
5
1
]
:
=
s
e
s
s
i
o
n
=
S
t
a
r
t
E
x
t
e
r
n
a
l
S
e
s
s
i
o
n
[
"
P
y
t
h
o
n
"
]
Encode a string to the IDNA format:
I
n
[
8
]
:
=
[
◼
]
E
n
c
o
d
e
T
o
I
D
N
A
[
s
e
s
s
i
o
n
,
"
ド
メ
イ
ン
.
テ
ス
ト
"
]
O
u
t
[
8
]
=
x
n
-
-
e
c
k
w
d
4
c
7
c
.
x
n
-
-
z
c
k
z
a
h