記事へ Ayumu Tanaka · 2024年6月27日 %SYS.Python クラスの ToList() を2024.1で試したところ、日本語も使用可能になっていますね。USER>set ^ListTest=$LISTBUILD("test","あいうえお",101) USER>:py Python 3.9.5 (default, Apr 30 2024, 17:05:29) [MSC v.1927 64 bit (AMD64)] on win32Type quit() or Ctrl-D to exit this shell.>>> glo=iris.gref("^ListTest")>>> pythonlist=iris.cls("%SYS.Python").ToList(glo[None])>>> pythonlist['test', 'あいうえお', 101]>>> quit() USER>write $zversionIRIS for Windows (x86-64) 2024.1 (Build 267_2U) Tue Apr 30 2024 16:35:10 EDTUSER> 認定証と Credly バッジ:Ayumuさんはまだ認定証と Credly バッジを取得していません.Global Mastersバッジ:Ayumuさんはグローバルマスターズバッジをまだ取得していません。フォロワー:すべて表示 1Daisuke T.フォロー中:Ayumuさんはまだ誰もフォローしていません。
%SYS.Python クラスの ToList() を2024.1で試したところ、日本語も使用可能になっていますね。
USER>set ^ListTest=$LISTBUILD("test","あいうえお",101)
USER>:py
Python 3.9.5 (default, Apr 30 2024, 17:05:29) [MSC v.1927 64 bit (AMD64)] on win32
Type quit() or Ctrl-D to exit this shell.
>>> glo=iris.gref("^ListTest")
>>> pythonlist=iris.cls("%SYS.Python").ToList(glo[None])
>>> pythonlist
['test', 'あいうえお', 101]
>>> quit()
USER>write $zversion
IRIS for Windows (x86-64) 2024.1 (Build 267_2U) Tue Apr 30 2024 16:35:10 EDT
USER>