Pythonサポート
Composeは、スクリプト言語として Python3.10をサポートしています。
サポートされるパッケージ - Windows
absl-py 2.2.2 aiohappyeyeballs 2.6.1 aiohttp 3.10.11 aiosignal 1.4.0 alabaster 1.0.0 alembic 1.16.4 annotated-types 0.7.0 antlr4-python3-runtime 4.13.2 anyio 4.9.0 apipkg 3.0.2 appdirs 1.4.4 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 asn1crypto 1.5.1 asteroid 3.3.11 asttokens 3.0.0 astunparse 1.6.3 async-timeout 5.0.1 atomicwrites 1.4.1 attrs 25.3.0 Automat 25.4.16 babel 2.17.0 backcall 0.2.0 backports.tarfile 1.2.0 bcrypt 4.2.1 beautifulsoup4 4.13.4 bleach 6.2.0 blosc2 2.2.9 boto3 1.40.10 botocore 1.40.10 Brotli 1.1.0 bson 0.5.10 CacheControl 0.14.3 cached-property 2.0.1 cachetools 6.2.0 cachy 0.3.0 certifi 2025.7.14 cffi 1.17.1 chardet 5.2.0 charset-normalizer 3.4.2 cleo 0.8.1 click 8.2.1 clikit 0.6.2 cloudpickle 3.1.1 colorama 0.4.6 comm 0.2.3 configparser 7.2.0 constantly 23.10.4 contourpy 1.3.1 cov-core 1.15.0 coverage 7.5.4 cppy 1.3.1 crashtest 0.4.1 cryptography 44.0.2 cycler 0.12.1 Cython 0.29.37 cytoolz 1.0.1 dask 2025.4.1 databricks-sdk 0.59.0 debugpy 1.8.15 decorator 5.2.1 deepdiff 7.0.1 defusedxml 0.7.1 Deprecated 1.2.18 deprecation 2.1.0 derivative 0.6.0 dill 0.4.0 dip_commercial 0.4.6 distlib 0.3.9 dnspython 2.7.0 docker 7.1.0 docopt 0.6.2 docutils 0.21.2 entrypoints 0.4 et_xmlfile 2.0.0 exceptiongroup 1.3.0 execnet 2.1.1 executing 2.2.0 ezdxf 1.4.2 falcon 3.1.3 falcon-jsonify 1.2 fastapi 0.116.1 fastjsonschema 2.21.2 filelock 3.19.1 flake8 7.3.0 Flask 2.2.5 flatbuffers 25.2.10 FMPy 0.3.21 fonttools 4.59.1 frozenlist 1.5.0 fsspec 2025.3.0 future 1.0.0 gast 0.6.0 gitdb 4.0.12 GitPython 3.1.44 graphene 3.0.dev0 graphviz 0.21 greenlet 3.1.0 grpcio 1.71.0 gunicorn 23.0.0 h11 0.16.0 h5py 3.7.0 hdbscan 0.8.37 html5lib 1.1 httpcore 1.0.9 httpx 0.28.1 hyperlink 21.0.0 hypothesis 6.113.0 idna 3.10 imageio 2.37.0 imagesize 1.4.1 importlib_metadata 8.6.1 imutils 0.5.4 incremental 24.7.2 iniconfig 2.1.0 invoke 2.2.0 ipykernel 6.30.1 ipyparallel 9.0.1 ipython 8.12.3 ipython_genutils 0.2.0 ipywidgets 8.1.7 isort 6.0.1 itsdangerous 2.2.0 jaraco.classes 3.4.0 jaraco.context 6.0.1 jaraco.functools 4.1.0 jdcal 1.4.1 jedi 0.19.2 jeepney 0.9.0 Jinja2 3.0.3 jmespath 1.0.1 joblib 1.5.1 json5 0.12.1 jsondiff 2.2.1 jsonpath-ng 1.7.0 jsonschema 4.23.0 jsonschema-specifications 2025.4.1 jupyter 1.1.1 jupyter-console 6.6.2 jupyter-events 0.12.0 jupyter_client 8.6.3 jupyter_core 5.7.2 jupyter_server 2.16.0 jupyter_server_terminals 0.5.3 jupyterlab 4.3.8 jupyterlab_pygments 0.3.0 jupyterlab_server 2.27.3 jupyterlab_widgets 3.0.15 keyring 25.6.0 kiwisolver 1.4.9 lark 1.2.2 latex2mathml 3.77.0 lazy-object-proxy 1.11.0 llvmlite 0.42.0 locket 1.0.0 lxml 4.9.3 Mako 1.3.10 Markdown 3.8.2 markdown-it-py 4.0.0 MarkupSafe 3.0.2 mathml2omml 0.0.2 matplotlib 3.7.5 matplotlib-inline 0.1.7 maturin 1.8.2 mccabe 0.7.0 mdurl 0.1.2 metakernel 0.30.3 mflow 0.0.4 mglearn 0.2.0 mistune 0.8.4 mlflow 3.1.3 mlflow-skinny 3.1.3 mock 5.2.0 more-itertools 10.7.0 mpmath 1.3.0 msgpack 1.1.1 multidict 6.6.4 multipledispatch 1.0.0 nats-py 2.11.0 nbclassic 1.3.1 nbclient 0.10.2 nbconvert 6.5.4 nbformat 5.10.4 ndindex 1.10.0 nest_asyncio 1.6.0 networkx 3.5 nh3 0.2.21 nkeys 0.2.1 nltk 3.9.1 nose2 0.15.1 notebook 7.3.3 notebook_shim 0.2.4 numba 0.59.1 numexpr 2.9.0 numpy 1.22.1 numpydoc 1.9.0 oldest-supported-numpy 2023.12.21 olefile 0.47 openpyxl 3.1.5 opentelemetry-api 1.31.1 opentelemetry-sdk 1.31.1 opentelemetry-semantic-conventions 0.52b1 ordered-set 4.1.0 overrides 7.7.0 packaging 25.0 paho-mqtt 2.1.0 pandas 2.0.3 pandocfilters 1.5.1 paramiko 3.5.1 parso 0.8.4 partd 1.4.2 pastel 0.2.1 pathlib2 2.3.7.post1 pathspec 0.12.1 pbr 7.0.0 pexpect 4.8.0 pickleshare 0.7.5 pika 1.3.2 pillow 11.1.0 pkgconfig 1.5.5 pkginfo 1.12.1.2 platformdirs 4.3.7 plotly 5.24.1 pluggy 1.6.0 ply 3.11 poetry 1.3.2 poetry-core 2.1.2 portalocker 3.2.0 portpicker 1.6.0 prettytable 3.16.0 prometheus_client 0.21.1 prompt_toolkit 3.0.51 protobuf 3.20.3 psutil 7.0.0 pure_eval 0.2.3 py 1.11.0 py-cpuinfo 9.0.0 py-make 0.1.2 pyarrow 16.1.0 pyasn1 0.6.1 pybind11 3.0.0 pycodestyle 2.14.0 pycparser 2.22 pydantic 2.11.5 pydantic_core 2.34.1 pydash 8.0.5 pyDOE3 1.0.4 pyflakes 3.4.0 Pygments 2.19.2 PyHamcrest 2.1.0 pylev 1.4.0 pylint 3.3.4 PyNaCl 1.5.0 pyodbc 5.2.0 pyparsing 3.2.3 pypiserver 2.3.2 pyproject-api 1.8.0 PyQt-builder 1.18.1 PyQt6-commercial 6.7.1 PyQt6_sip 13.10.2 Pyro5 5.15 pyrsistent 0.20.0 pysindy 1.7.5 pyswarms 1.3.0 pytest 8.3.5 pytest-cov 6.2.1 pytest-forked 1.6.0 pytest-localserver 0.9.0.post0 pytest-reportlog 0.4.0 pytest-runner 6.0.1 pytest-timeout 2.4.0 pytest-xdist 3.6.1 python-dateutil 2.9.0.post0 python-docx 1.2.0 python-json-logger 3.3.0 python-mimeparse 2.0.0 python-pptx 1.0.2 pyttk 0.3.2 pytz 2025.2 PyWavelets 1.4.1 pywin32 305 pywin32-ctypes 0.2.3 pywinpty 2.0.14 PyYAML 6.0.2 pyzmq 25.1.2 qtconsole 5.6.1 QtPy 2.4.2 readme_renderer 44.0 referencing 0.36.2 regex 2025.7.31 reportlab 4.4.2 requests 2.32.4 requests-toolbelt 0.10.1 rfc3339_validator 0.1.4 rfc3986 2.0.0 rfc3986_validator 0.1.1 rich 14.0.0 rpds-py 0.22.3 rsa 4.9.1 s3transfer 0.13.1 scandir 1.10.0 schema 0.7.7 scikit-image 0.18.3 scikit-learn 1.2.2 scipy 1.6.3 seaborn 0.13.2 SecretStorage 3.3.3 Send2Trash 1.8.3 serpent 1.41 setuptools-scm 8.3.1 shellingham 1.5.4 simplegeneric 0.8.1 singledispatch 4.1.0 sip 6.8.6 six 1.17.0 smmap 5.0.2 sniffio 1.3.1 sortedcontainers 2.4.0 soupsieve 2.7 Sphinx 5.1.1 sphinx_rtd_theme 0.4.3 sphinxcontrib-applehelp 1.0.7 sphinxcontrib-asyncio 0.3.0 sphinxcontrib-devhelp 1.0.5 sphinxcontrib-htmlhelp 2.0.4 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.6 sphinxcontrib-serializinghtml 1.1.9 sphinxcontrib-websupport 2.0.0 SQLAlchemy 2.0.41 sqlparse 0.5.3 stack_data 0.6.3 starlette 0.46.2 sympy 1.14.0 tables 3.9.1 tabulate 0.9.0 tenacity 9.1.2 terminado 0.18.1 testpath 0.6.0 threadpoolctl 3.6.0 tifffile 2025.5.10 tinycss2 1.4.0 TkinterTreectrl 2.0 tomli 2.0.2 tomlkit 0.13.2 toolz 1.0.0 tornado 6.5.1 tox 4.23.2 tqdm 4.67.1 traitlets 5.14.3 twine 6.0.1 Twisted 24.11.0 types-setuptools 80.3.0.20250505 typing-inspection 0.4.1 typing_extensions 4.15.0 tzdata 2025.2 ujson 5.10.0 urllib3 1.26.18 uvicorn 0.35.0 virtualenv 20.29.3 waitress 3.0.2 wcwidth 0.2.13 webencodings 0.5.1 websocket-client 1.8.0 Werkzeug 3.1.3 widgetsnbextension 4.0.14 wrapt 1.17.3 xlrd 2.0.2 xlsxwriter 3.2.5 xlwt 1.3.0 yarl 1.13.1 zipp 3.20.2 zope.event 5.1 zope.interface 7.2
サポートされるパッケージ - Linux
absl-py 2.2.2 aiohappyeyeballs 2.6.1 aiohttp 3.10.11 aiosignal 1.4.0 alabaster 1.0.0 alembic 1.16.4 annotated-types 0.7.0 antlr4-python3-runtime 4.13.2 anyio 4.9.0 apipkg 3.0.2 appdirs 1.4.4 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 asn1crypto 1.5.1 asteroid 3.3.11 asttokens 3.0.0 astunparse 1.6.3 async-timeout 5.0.1 atomicwrites 1.4.1 attrs 25.3.0 Automat 25.4.16 babel 2.17.0 backcall 0.2.0 backports.tarfile 1.2.0 bcrypt 4.2.1 beautifulsoup4 4.13.4 bleach 6.2.0 blosc2 2.2.9 boto3 1.40.10 botocore 1.40.10 Brotli 1.1.0 bson 0.5.10 CacheControl 0.14.3 cached-property 2.0.1 cachetools 6.2.0 cachy 0.3.0 certifi 2025.7.14 cffi 1.17.1 chardet 5.2.0 charset-normalizer 3.4.2 cleo 0.8.1 click 8.2.1 clikit 0.6.2 cloudpickle 3.1.1 colorama 0.4.6 comm 0.2.3 configparser 7.2.0 constantly 23.10.4 contourpy 1.3.1 cov-core 1.15.0 coverage 7.5.4 cppy 1.3.1 crashtest 0.4.1 cryptography 44.0.2 cycler 0.12.1 Cython 0.29.37 cytoolz 1.0.1 dask 2025.4.1 databricks-sdk 0.59.0 debugpy 1.8.15 decorator 5.2.1 deepdiff 7.0.1 defusedxml 0.7.1 Deprecated 1.2.18 deprecation 2.1.0 derivative 0.6.0 dill 0.4.0 dip_commercial 0.4.6 distlib 0.3.9 dnspython 2.7.0 docker 7.1.0 docopt 0.6.2 docutils 0.21.2 entrypoints 0.4 et_xmlfile 2.0.0 exceptiongroup 1.3.0 execnet 2.1.1 executing 2.2.0 ezdxf 1.4.2 falcon 3.1.3 falcon-jsonify 1.2 fastapi 0.116.1 fastjsonschema 2.21.2 filelock 3.19.1 flake8 7.3.0 Flask 2.2.5 flatbuffers 25.2.10 FMPy 0.3.21 fonttools 4.59.1 frozenlist 1.5.0 fsspec 2025.3.0 future 1.0.0 gast 0.6.0 gitdb 4.0.12 GitPython 3.1.44 graphene 3.0.dev0 graphviz 0.21 greenlet 3.1.0 grpcio 1.71.0 gunicorn 23.0.0 h11 0.16.0 h5py 3.7.0 hdbscan 0.8.37 html5lib 1.1 httpcore 1.0.9 httpx 0.28.1 hyperlink 21.0.0 hypothesis 6.113.0 idna 3.10 imageio 2.37.0 imagesize 1.4.1 importlib_metadata 8.6.1 imutils 0.5.4 incremental 24.7.2 iniconfig 2.1.0 invoke 2.2.0 ipykernel 6.30.1 ipyparallel 9.0.1 ipython 8.12.3 ipython_genutils 0.2.0 ipywidgets 8.1.7 isort 6.0.1 itsdangerous 2.2.0 jaraco.classes 3.4.0 jaraco.context 6.0.1 jaraco.functools 4.1.0 jdcal 1.4.1 jedi 0.19.2 jeepney 0.9.0 Jinja2 3.0.3 jmespath 1.0.1 joblib 1.5.1 json5 0.12.1 jsondiff 2.2.1 jsonpath-ng 1.7.0 jsonschema 4.23.0 jsonschema-specifications 2025.4.1 jupyter 1.1.1 jupyter-console 6.6.2 jupyter-events 0.12.0 jupyter_client 8.6.3 jupyter_core 5.7.2 jupyter_server 2.16.0 jupyter_server_terminals 0.5.3 jupyterlab 4.3.8 jupyterlab_pygments 0.3.0 jupyterlab_server 2.27.3 jupyterlab_widgets 3.0.15 keyring 25.6.0 kiwisolver 1.4.9 lark 1.2.2 latex2mathml 3.77.0 lazy-object-proxy 1.11.0 llvmlite 0.42.0 locket 1.0.0 lxml 4.9.3 Mako 1.3.10 Markdown 3.8.2 markdown-it-py 4.0.0 MarkupSafe 3.0.2 mathml2omml 0.0.2 matplotlib 3.7.5 matplotlib-inline 0.1.7 maturin 1.8.2 mccabe 0.7.0 mdurl 0.1.2 metakernel 0.30.3 mflow 0.0.4 mglearn 0.2.0 mistune 0.8.4 mlflow 3.1.3 mlflow-skinny 3.1.3 mock 5.2.0 more-itertools 10.7.0 mpmath 1.3.0 msgpack 1.1.1 multidict 6.6.4 multipledispatch 1.0.0 nats-py 2.11.0 nbclassic 1.3.1 nbclient 0.10.2 nbconvert 6.5.4 nbformat 5.10.4 ndindex 1.10.0 nest_asyncio 1.6.0 networkx 3.5 nh3 0.2.21 nkeys 0.2.1 nltk 3.9.1 nose2 0.15.1 notebook 7.3.3 notebook_shim 0.2.4 numba 0.59.1 numexpr 2.9.0 numpy 1.22.1 numpydoc 1.9.0 oldest-supported-numpy 2023.12.21 olefile 0.47 openpyxl 3.1.5 opentelemetry-api 1.31.1 opentelemetry-sdk 1.31.1 opentelemetry-semantic-conventions 0.52b1 ordered-set 4.1.0 overrides 7.7.0 packaging 25.0 paho-mqtt 2.1.0 pandas 2.0.3 pandocfilters 1.5.1 paramiko 3.5.1 parso 0.8.4 partd 1.4.2 pastel 0.2.1 pathlib2 2.3.7.post1 pathspec 0.12.1 pbr 7.0.0 pexpect 4.8.0 pickleshare 0.7.5 pika 1.3.2 pillow 11.1.0 pkgconfig 1.5.5 pkginfo 1.12.1.2 platformdirs 4.3.7 plotly 5.24.1 pluggy 1.6.0 ply 3.11 poetry 1.3.2 poetry-core 2.1.2 portalocker 3.2.0 portpicker 1.6.0 prettytable 3.16.0 prometheus_client 0.21.1 prompt_toolkit 3.0.51 protobuf 3.20.3 psutil 7.0.0 ptyprocess 0.7.0 pure_eval 0.2.3 py 1.11.0 py-cpuinfo 9.0.0 py-make 0.1.2 pyarrow 16.1.0 pyasn1 0.6.1 pybind11 3.0.0 pycodestyle 2.14.0 pycparser 2.22 pydantic 2.11.5 pydantic_core 2.34.1 pydash 8.0.5 pyDOE3 1.0.4 pyflakes 3.4.0 Pygments 2.19.2 PyHamcrest 2.1.0 pylev 1.4.0 pylint 3.3.4 PyNaCl 1.5.0 pyodbc 5.2.0 pyparsing 3.2.3 pypiserver 2.3.2 pyproject-api 1.8.0 PyQt-builder 1.18.1 PyQt6-commercial 6.7.1 PyQt6_sip 13.10.2 Pyro5 5.15 pyrsistent 0.20.0 pysindy 1.7.5 pyswarms 1.3.0 pytest 8.3.5 pytest-cov 6.2.1 pytest-forked 1.6.0 pytest-localserver 0.9.0.post0 pytest-reportlog 0.4.0 pytest-runner 6.0.1 pytest-timeout 2.4.0 pytest-xdist 3.6.1 python-dateutil 2.9.0.post0 python-docx 1.2.0 python-json-logger 3.3.0 python-mimeparse 2.0.0 python-pptx 1.0.2 pyttk 0.3.2 pytz 2025.2 PyWavelets 1.4.1 PyYAML 6.0.2 pyzmq 25.1.2 qtconsole 5.6.1 QtPy 2.4.2 readme_renderer 44.0 referencing 0.36.2 regex 2025.7.31 reportlab 4.4.2 requests 2.32.4 requests-toolbelt 0.10.1 rfc3339_validator 0.1.4 rfc3986 2.0.0 rfc3986_validator 0.1.1 rich 14.0.0 rpds-py 0.22.3 rsa 4.9.1 s3transfer 0.13.1 scandir 1.10.0 schema 0.7.7 scikit-image 0.18.3 scikit-learn 1.2.2 scipy 1.6.3 seaborn 0.13.2 SecretStorage 3.3.3 Send2Trash 1.8.3 serpent 1.41 setuptools-scm 8.3.1 shellingham 1.5.4 simplegeneric 0.8.1 singledispatch 4.1.0 sip 6.8.6 six 1.17.0 smmap 5.0.2 sniffio 1.3.1 sortedcontainers 2.4.0 soupsieve 2.7 Sphinx 5.1.1 sphinx_rtd_theme 0.4.3 sphinxcontrib-applehelp 1.0.7 sphinxcontrib-asyncio 0.3.0 sphinxcontrib-devhelp 1.0.5 sphinxcontrib-htmlhelp 2.0.4 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.6 sphinxcontrib-serializinghtml 1.1.9 sphinxcontrib-websupport 2.0.0 SQLAlchemy 2.0.41 sqlparse 0.5.3 stack_data 0.6.3 starlette 0.46.2 sympy 1.14.0 tables 3.9.1 tabulate 0.9.0 tenacity 9.1.2 terminado 0.18.1 testpath 0.6.0 threadpoolctl 3.6.0 tifffile 2025.5.10 tinycss2 1.4.0 TkinterTreectrl 2.0 tomli 2.0.2 tomlkit 0.13.2 toolz 1.0.0 tornado 6.5.1 tox 4.23.2 tqdm 4.67.1 traitlets 5.14.3 twine 6.0.1 Twisted 24.11.0 types-setuptools 80.3.0.20250505 typing-inspection 0.4.1 typing_extensions 4.15.0 tzdata 2025.2 ujson 5.10.0 urllib3 1.26.18 uvicorn 0.35.0 virtualenv 20.29.3 waitress 3.0.2 wcwidth 0.2.13 webencodings 0.5.1 websocket-client 1.8.0 Werkzeug 3.1.3 widgetsnbextension 4.0.14 wrapt 1.17.3 xlrd 2.0.2 xlsxwriter 3.2.5 xlwt 1.3.0 yarl 1.13.1 zipp 3.20.2 zope.event 5.1 zope.interface 7.2
既知の問題
- Py TTkが機能しません。
- Pythonのユニットテストフレームワーク:
- Pythonのユニットテストフレームワークを使用するには、次の対策を講じます。
import sys import unittest def addNum(a,b): return a + b def delNum(a,b): return a - b class TestFun(unittest.TestCase): def testAdd(self): self.assertEqual(2,addNum(1,1)) def testDel(self): self.assertEqual(2,addNum(1,1)) try: if __name__ == "__main__": unittest.main(argv=[sys.argv[0]]) except SystemExit: pass - デバッガー
- 組み込みのデータ型がサポートされています。
- Watch windowでは、インポートしたデータ型がサポートされていません。
- %quickrefなど、IPythonのマジックコマンドを実行すると、Pythonのコマンドウィンドウが使用できなくなることがあります。
- Tkinterパッケージが使用できません。
- デバッガーのウォッチウィンドウ:
- 既存のコンテナへの要素の追加またはそこからの要素の削除がWatch windowに反映されません。例:
- 行番号2にブレークポイントを追加し、Watch windowに‘
data’を追加します。 - 行番号4にブレークポイントを追加します。Watch windowでは、‘
data’が更新されますが、‘data’以下に表示される要素は3つのままです。
- 既存のコンテナへの要素の追加またはそこからの要素の削除がWatch windowに反映されません。例:
- システムコマンドとos.system()関数の使用には次の制限があります。
- 新しいコンソールを起動すると、Windowsではアプリケーションがフリーズします。
- 次のコードに起因してアプリケーションがフリーズします。
import os;os.system('cmd.exe') - 解決策として次のコードを使用します。
import os;os.system('start cmd.exe')
- 次のコードに起因してアプリケーションがフリーズします。
- pauseコマンドを次のように使用すると、Windowsではアプリケーションがフリーズし、Linuxではアプリケーションが想定どおりに動作しなくなります。
import os;os.system('pause')
- 新しいコンソールを起動すると、Windowsではアプリケーションがフリーズします。
- Windowsにおいてインストール時のパスが長すぎる場合、 Python パッケージのインストール / 更新が正しく行われません。
- Windowsには、パスの長さに制限があります。MAX_PATH (一般的に260文字)の設定より長いパスはエラーの原因となります。
- Pythonパッケージのインストール / 更新時、イントールパス全体がTEMPパスに追加されるため、Windowsでサポートする最大パス長さを超えることになります。
- 例:
Composeインストールパス:D:\Program Files\Altair\20xx.x
Pipの更新は、コマンド"python.exe -m pip install --upgrade pip"を使用し、以下のエラーメッセージを表示します。FileNotFoundError: [Errno 2] No such file or directory:'C:\\Users\\<username>\\AppData\\Local\\Temp\\pip-vefbh9ve-uninstall\\program files\\altair\\20xx.x\\compose20xx.x\\common\\python\\python3.5\\win64\\lib\\site-packages\\pip\\_vendor\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\__pycache__\\__init__.cpython-35.pyc'
- Pythonモジュールを制限されているディレクトリにインストールするには、管理者権限が必要になります。
Composeが"C:\Program Files\...にインストールされている場合、Pythonモジュールのインストールには管理者権限が必要になります。
- ユーザー定義のPythonモジュールをインポートするには、sys.pathにモジュールの場所を追加します。
例:
iimport sys; sys.path.append("D:/user_module") - Command WindowでPythonスクリプトを実行中に、Python printステートメントの後に"liveexecution()" 関数コールを追加してライブプリントします。例:
for i in range(1,5000): print( i ) liveexecution()
注: Python3.8以外のPythonライブラリをPYTHONHOMEでポイントした場合、または Python 3.8と互換性のないPythonモジュールをPYTHONPATHでポイントした場合、予期しない結果が得られることがあります。