# No autocomplete for Python in Grasshopper for a particular script

**URL:** <https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343>\
**Category:** Grasshopper\
**Tags:** windows, python\
**Created:** [October 7, 2026, 1:08pm UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343 "2026-10-07T13:08:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 7, 2026, 1:08pm UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/1 "2026-10-07T13:08:53Z")

</div>

As much as the title says.

Any other Python script node has autocomplete suggestions. One particular doesn’t. It looks greyer if compared to an empty Python 3 script. But it fulfills its functionality properly regardless. All the settings are identical between all script nodes.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/9/3/c939652d5fe11941f214799ea512ab743820ce67.png)

A very similar C# script is greyed-out as well, but has autocomplete suggestions:

 ![{2F29ABEB-9F0F-4AB8-A07B-DE52BD346D10}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/6/4/e64ceb31e0266e10114807749a57039b8bebf525.png)

The observed behaviour in a problematic script node:

![{D6602F00-37D4-4047-89DB-BF108E09E22B}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/e/d/aed745226fee0115ee9dcc0a415a56f298fe76e4.png)

The expected behaviour (the example is taken from a different Python script node)

 ![{9E1ED7E0-F99A-49A6-B8CE-3FD14B01D5BA}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/1/a/21a7ae2514f17fe5f2204ba967a802663faff7d7.png)

I, unfortunately, can not share any files publicly, but will send any required data to the support.

What I tried: Rhino relaunch, didn’t help. System restart, didn’t help.

Any suggestions and questions are welcome. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 7, 2026, 1:13pm UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/2 "2026-10-07T13:13:09Z")

</div>

Figured it out. The script had an emoji in the comment section before the code.

 ![{B3AACBB1-389E-4F68-A82B-725B2C1CFA5B}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/1/c/81ce069f1e434284fd948915bc1a45b7bb97c0ff.png)

 ![{1E34CA30-957D-4FB4-87CE-E9A8F52C0667}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/c/b/3cbd4baa7875e7836acd0e5752ee6ce4b0baf174.png)

 ![{49334D7B-232A-4124-9C73-E48231AE927B}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/e/1/7e13be825d644d370ea9e42cde6e38ef831368f2.png)

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 7, 2026, 1:18pm UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/3 "2026-10-07T13:18:42Z")

</div>

Having an emoji in comments in a C# script doesn’t break anything, though.

 ![{30721504-F4BF-4203-9FC6-22919DB1B53D}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/f/e/dfe0f38680ed5eb0729dfef7db8fb1a3b2e2806f.png)

---

<div class="post-metadata">

**Author:** ![Cumberland](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cumberland/32/770886_2.png) [@Cumberland](https://discourse.mcneel.com/u/Cumberland)\
**Post date:** [October 7, 2026, 2:25pm UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/4 "2026-10-07T14:25:42Z")

</div>

Put this on the first line of the Python 3 script:  
`# -*- coding: utf-8 -*-`

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 8, 2026, 5:00am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/5 "2026-10-08T05:00:58Z")

</div>

This didn’t help, sorry.

 ![{4B0A8ECC-C4C0-4510-8BE1-F7305D78F68A}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/b/5/cb5f1d0135be3deefd23b55d9b1d653b7ac5c537.png)

---

<div class="post-metadata">

**Author:** ![Cumberland](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cumberland/32/770886_2.png) [@Cumberland](https://discourse.mcneel.com/u/Cumberland)\
**Post date:** [October 8, 2026, 6:17am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/6 "2026-10-08T06:17:26Z")

</div>

> [@Cumberland](#):
>
> coding: utf-8

That’s interesting. For me worked in all the scripts with emojis in the comments. maybe you also need to declare that it is a Python 3 script?

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 8, 2026, 6:34am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/7 "2026-10-08T06:34:58Z")

</div>

Sorry, no, it makes no difference.

 ![{D607DD98-3E47-4F80-A6DE-8C3A3269270B}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/0/b/80baf57f368d6de077820fcb7164d010778556ec.png)

---

<div class="post-metadata">

**Author:** ![Cumberland](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cumberland/32/770886_2.png) [@Cumberland](https://discourse.mcneel.com/u/Cumberland)\
**Post date:** [October 8, 2026, 7:51am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/8 "2026-10-08T07:51:21Z")

</div>

Maybe that particular emoji it is not part of the Unicode table? Can you share that comment with the emoji so we can check what’s going on?

[Emoji unicode characters for use on the web](https://apps.timwhitlock.info/emoji/tables/unicode)

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 8, 2026, 8:07am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/9 "2026-10-08T08:07:58Z")

</div>

[🐝](https://apps.timwhitlock.info/emoji/tables/unicode#emoji-modal "U+1F41D") is in the list of emojis you provided, [U+1F41D](https://apps.timwhitlock.info/unicode/inspect/hex/1F41D).

 ![{A2DE8F60-23E3-4B2D-88D4-B728863775B5}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/2/4/124690072ac706c65bb06c32a7d16c7273a83285.png)

---

<div class="post-metadata">

**Author:** ![Cumberland](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cumberland/32/770886_2.png) [@Cumberland](https://discourse.mcneel.com/u/Cumberland)\
**Post date:** [October 8, 2026, 8:10am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/10 "2026-10-08T08:10:30Z")

</div>

To my naked eye they doesn’t match:

![Emoji](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/0/8/f08c4b07d7779dc8073f292ad0d08f3f488e7af6.png)

[🐝](https://apps.timwhitlock.info/emoji/tables/unicode#emoji-modal "U+1F41D")

---

<div class="post-metadata">

**Author:** ![Ex\_John](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ex_john/32/759235_2.png) [@Ex\_John](https://discourse.mcneel.com/u/Ex_John)\
**Post date:** [October 8, 2026, 8:37am UTC](https://discourse.mcneel.com/t/no-autocomplete-for-python-in-grasshopper-for-a-particular-script/223343/11 "2026-10-08T08:37:24Z")

</div>

I understand. I checked if an emoji that exists in the Unicode emoji table you provided works. It does not.

 ![{0FB860C8-EF3C-473A-AAE3-27F7B90B2544}](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/8/4/78415e678d1bf6137d8f84cea81a5f9d1c83b391.png)
