LLSP PY
ファイル変換

LLSP から PY への変換

クイック回答
LLSP を PY に変換することは可能ですか?
はい - LLSP は PY に変換可能です。

A .llsp is a zipped SPIKE project whose logic lives in a project.json, and tools like pyspikon read that JSON to emit a .py file. The cleanest route is to rewrite the program in SPIKE's built-in Python mode. Converters miss some blocks (notably Events and My Blocks), so expect to finish the code by hand.

PY への他の変換: KGL · UI · PYO

このページの内容

macOS、Windows、Linux でテスト済み
最終検証日:Nov 2026

その他の無料コンバーター

HEIC、PNG、WEBP、MP3 など、すべてのツールが無料です。

ツールボックスを開く

なぜ LLSP を PY に変換するのですか?

.llsp is a word-block (Scratch-style) SPIKE project, while .py is plain Python text you can run in the SPIKE App's Python mode, in an editor, or version-control with git. People convert to Python for real code control, reuse, and readable diffs.

LLSP から PY への変換方法

pyspikon

Unzip the .llsp, then run python pyspikon.py path-to-file new-file-path to generate a .py from the project's project.json. Note the tool is deprecated and can be glitchy.

LEGO Education SPIKE App (Python mode)

Open a new Python project in the SPIKE App and re-create the logic as code; this is the most reliable way to get clean, runnable .py.

flippertools

Use this command-line toolkit for SPIKE/MINDSTORMS project files to inspect and pull the program out of the .llsp before hand-porting it to Python.

これらの形式について

品質と注意点

  • コンバーターはすべてのブロックをカバーしているわけではありません。イベントと «マイブロック» は一般的にスキップされるため、手動で書き直す必要があります。
  • pyspikon は非推奨とマークされているため、ハブで実行する前に出力のクリーンアップが必要になる場合があります。
  • ワードブロックのプロジェクトが慣用的な Python と一対一で対応することは稀です。出力は開始ドラフトとして扱ってください。

よくある質問

pyspikon はまだメンテナンスされていますか?
いいえ、非推奨(deprecated)としてフラグが立てられており、不具合が発生する可能性があるため、出力を慎重に確認するか、Python モードで再構築してください。
どのブロックが変換に失敗しますか?
イベントと «マイブロック» は通常、コンバーターでサポートされていないため、手動で再作成する必要があります。
SPIKE ハブで .py を実行できますか?
はい。クリーンアップした後、SPIKE アプリの Python プロジェクトに貼り付けてハブにダウンロードできます。
.llsp 内の実際のプログラムはどこに保存されていますか?
ZIP 内部の project.json として保存されており、コンバーターはこれを解析して Python ファイルを構築します。