# How can I compile a plugin from a Python 3 script for Rhino 8?

**URL:** <https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566>\
**Category:** Serengeti (Rhino BETA)\
**Tags:** windows, python\
**Created:** [January 19, 2023, 8:08pm UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566 "2023-01-19T20:08:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/holo/32/496872_2.png) [@Holo](https://discourse.mcneel.com/u/Holo)\
**Post date:** [January 19, 2023, 8:08pm UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566/1 "2023-01-19T20:08:46Z")

</div>

Hi @wim  
I need some help in compiling a few python 3 scripts into a plugin so we can call the commands.  
But I have not figured out how to do it, is it possible yet?

Thanks

---

<div class="post-metadata">

**Author:** ![Holo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/holo/32/496872_2.png) [@Holo](https://discourse.mcneel.com/u/Holo)\
**Post date:** [January 20, 2023, 4:10pm UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566/2 "2023-01-20T16:10:44Z")

</div>

@eirannejad is this something you know anything about, or are you just on RhinoCode?

It would be great if we had a command like RunPythonScript that worked on Python3 scripts too. Preferably that command would understand if it’s IronPython or Python 3 automatically (since both languages use the extention.py)

---

<div class="post-metadata">

**Author:** ![eirannejad](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/eirannejad/32/477962_2.png) [@eirannejad](https://discourse.mcneel.com/u/eirannejad)\
**Post date:** [January 20, 2023, 8:55pm UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566/3 "2023-01-20T20:55:48Z")

</div>

Hello @Holo

That the last remaining “Feature” item on my list. There is a disabled “Package” button beside “Save” in the code editor UI that will handle packaging your scripts as a Rhino command. This has a little more work as it needs to integrate with RhinoScriptCompiler

---

<div class="post-metadata">

**Author:** ![marc.fleischmann](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/marc.fleischmann/32/504249_2.png) [@marc.fleischmann](https://discourse.mcneel.com/u/marc.fleischmann)\
**Post date:** [October 6, 2023, 7:45am UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566/4 "2023-10-06T07:45:03Z")

</div>

Has the compiler for Python 3 scripts been implemented yet and is available in Rhino 8 Beta?

---

<div class="post-metadata">

**Author:** ![eirannejad](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/eirannejad/32/477962_2.png) [@eirannejad](https://discourse.mcneel.com/u/eirannejad)\
**Post date:** [November 3, 2023, 1:27pm UTC](https://discourse.mcneel.com/t/how-can-i-compile-a-plugin-from-a-python-3-script-for-rhino-8/153566/5 "2023-11-03T13:27:49Z")

</div>

Take a look at this video and let me know if it makes sense.

I’ll post better videos soon

> [@Rhino 8 Feature: ScriptEditor (CPython, CSharp)](https://discourse.mcneel.com/t/rhino-8-feature-scripteditor-cpython-csharp/128353):
>
> Hello wave Here is another quick update on the newly-called ScriptEditor in Rhino 8. THIS WILL BE AVAILABLE IN NEXT WIP BUILD (Some of it is there already but might be different from the video and be buggy) [[Publishing Your Scripts as Rhino/GH Plugins] ](https://www.youtube.com/watch?v=sQwDIHbYB6Q) We will be creating better tutorial videos soon. P.S. I just listened to this and I will really try to stop saying “sort of like”
