# Python Script input in grasshopper

**URL:** <https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650>\
**Category:** Scripting\
**Tags:** windows, rhino-8\
**Created:** [October 9, 2024, 5:27am UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650 "2024-10-09T05:27:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Warui\_Otoko](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/warui_otoko/32/615265_2.png) [@Warui\_Otoko](https://discourse.mcneel.com/u/Warui_Otoko)\
**Post date:** [October 9, 2024, 5:27am UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650/1 "2024-10-09T05:27:41Z")

</div>

noob here! im trying to input a python script from chatgpt to generate an image in grasshopper but when im pasting it said " Cannot edit in read only editor " please help

---

<div class="post-metadata">

**Author:** ![郭祥伟](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/%E9%83%AD%E7%A5%A5%E4%BC%9F/32/655789_2.png) [@郭祥伟](https://discourse.mcneel.com/u/%E9%83%AD%E7%A5%A5%E4%BC%9F)\
**Post date:** [October 9, 2024, 6:40am UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650/2 "2024-10-09T06:40:08Z")

</div>

![截屏2024-10-09 14.37.27](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/6/8/36887055262f9f1f8378ed882819df29d5e3539e.png)  
Is your editor like this? I can edit it normally.

---

<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:** [October 9, 2024, 4:30pm UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650/3 "2024-10-09T16:30:31Z")

</div>

Hmm. I am gonna need more context here. 😅

@郭祥伟 Yes that is Python 3 script editor in Rhino  
@Warui_Otoko If you can share the script I can show you how to setup a GH definition with the script

---

<div class="post-metadata">

**Author:** ![Warui\_Otoko](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/warui_otoko/32/615265_2.png) [@Warui\_Otoko](https://discourse.mcneel.com/u/Warui_Otoko)\
**Post date:** [October 9, 2024, 6:59pm UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650/4 "2024-10-09T18:59:49Z")

</div>

im using python 3 in rhino 8 but not working. i tried the ironpython but its not working. thank you guys for help.

---

<div class="post-metadata">

**Author:** ![Warui\_Otoko](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/warui_otoko/32/615265_2.png) [@Warui\_Otoko](https://discourse.mcneel.com/u/Warui_Otoko)\
**Post date:** [October 9, 2024, 7:01pm UTC](https://discourse.mcneel.com/t/python-script-input-in-grasshopper/192650/5 "2024-10-09T19:01:45Z")

</div>

Thank you sir! can you please help me how to make definition in grasshopper to generate this kind of parametric architecture? or what plugin should i use to make this?

> **[Pin on 31](https://www.pinterest.com/pin/760545455863217797/)**
>
> Jun 12, 2024 -
