# ipython-language-magic **Repository Path**: konghy/ipython-language-magic ## Basic Information - **Project Name**: ipython-language-magic - **Description**: IPython 编程语言默认方法,用于在 IPython 中快速运行各语言代码。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-21 - **Last Updated**: 2024-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README IPython Language Magic ====================== 用于在 IPython 中直接运行各编程语言代码,目前支持 Lua, C/C++ 语言。 安装: ``` pip install . ``` 加载魔法方法: ``` %load_ext ipython_language_magic ``` 或者: ``` get_ipython().run_line_magic('load_ext', 'ipython_language_magic') ``` 目前支持的魔法方法: ``` %lua %%lua 运行 Lua 代码 %%c %%cc 运行 C 语言代码 %%cpp %%clang 运行 C++ 代码 ``` *Copyright (c) Huoty, 2023.11.05*