# Python in MacWip

**URL:** <https://discourse.mcneel.com/t/python-in-macwip/85309>\
**Category:** Mac\
**Tags:** python\
**Created:** [June 26, 2019, 10:05am UTC](https://discourse.mcneel.com/t/python-in-macwip/85309 "2019-06-26T10:05:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gijs](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/gijs/32/769882_2.png) [@Gijs](https://discourse.mcneel.com/u/Gijs)\
**Post date:** [June 26, 2019, 10:05am UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/1 "2019-06-26T10:05:37Z")

</div>

Now that Rhino6 for Mac is shipping soon™ I wonder what will happen with the Python editor.  
Yesterday I was writing a script on my Mac in RhinoWIP but it was a pain. Even though I encapsulated my code into try / except, and coding from Atom, I often got no feedback if things were wrong.  
~~As reported earlier, RhinoWIP doesn’t communicate with Atom unless RhinoWIP is renamed. But even then I lost connection with Rhino, the script would run an old script unless I saved first (even though it saves when running)~~  
edit: seems to be fixed after I updated

I saw there is now a EditPythonScript in Rhino for Mac, but it isn’t much more than a window. Will this be tuned up before release, after release, or will it stay like this?

---

<div class="post-metadata">

**Author:** ![infoscape](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/infoscape/32/601094_2.png) [@infoscape](https://discourse.mcneel.com/u/infoscape)\
**Post date:** [June 28, 2019, 12:54pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/2 "2019-06-28T12:54:00Z")

</div>

I wish to express my support to this question.

An important underlying issue is that Rhino 6 for Mac will be significantly worse than Rhino 5 for Mac in terms of facilitating Python scripting. I hope that was never intended?

Solving this issue seems not that technically complicated, i.e. to simply allow error messages to appear in the console (or another place) after running a script from Atom - which worked fine in Rhino for Mac 5.

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [June 28, 2019, 4:06pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/4 "2019-06-28T16:06:30Z")

</div>

> [@infoscape](#):
>
> An important underlying issue is that Rhino 6 for Mac will be significantly worse than Rhino 5 for Mac in terms of facilitating Python scripting. I hope that was never intended?

Can you explain a bit more what you mean by “worse”? Obviously, we don’t intend to make things worse so we need to understand what it is that has been broken.

---

<div class="post-metadata">

**Author:** ![Gijs](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/gijs/32/769882_2.png) [@Gijs](https://discourse.mcneel.com/u/Gijs)\
**Post date:** [June 28, 2019, 4:12pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/5 "2019-06-28T16:12:16Z")

</div>

No error reporting… In case of error there is just no error pop up window anymore like in v5

But how about the built in python editor, will it be anywhere like windows ?

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [June 28, 2019, 4:20pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/6 "2019-06-28T16:20:02Z")

</div>

> [@Gijs](#):
>
> No error reporting… In case of error there is just no error pop up window anymore like in v5

@Alain are you aware of this? Is there a YT issue for this?

> [@Gijs](#):
>
> But how about the built in python editor, will it be anywhere like windows ?

The long term goal is to have a cross platform editor that works on both Windows and Mac (as well as a potential replacement for the GH editors) using the same code. This is a very large project that Alain is working on.

The Mac editor should get some new features during the V6 lifespan, but I don’t think it will get to the level that the Windows V6 editor is currently at.

---

<div class="post-metadata">

**Author:** ![\_fb](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/_fb/32/648461_2.png) [@\_fb](https://discourse.mcneel.com/u/_fb)\
**Post date:** [June 28, 2019, 4:23pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/7 "2019-06-28T16:23:59Z")

</div>

Can we expect a simple prompt when script is tested any time soon?  
Another nice feature would be autocomplete with hints (reference).  
Right now, Atom is a workaround, but even there I can’t find a reliable/comprehensive autocomplete with Rhino python reference hints.  
Thank you  
F

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [June 28, 2019, 4:26pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/8 "2019-06-28T16:26:14Z")

</div>

> [@\_fb](#):
>
> Can we expect a simple prompt when script is tested any time soon?

What does this mean?

> [@\_fb](#):
>
> Another nice feature would be autocomplete with hints (reference).

Yep, and that is something we are looking at porting from the Windows code over to Mac.

---

<div class="post-metadata">

**Author:** ![\_fb](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/_fb/32/648461_2.png) [@\_fb](https://discourse.mcneel.com/u/_fb)\
**Post date:** [June 28, 2019, 4:29pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/9 "2019-06-28T16:29:46Z")

</div>

> [@stevebaer](#):
>
> What does this mean?

Something like the windows version has had since V.5: The GH Python script window has a Run button and shows a prompt like “Tested OK” or error message if not.

> [@stevebaer](#):
>
> Yep, and that is something we are looking at porting from the Windows code over to Mac.

That’s great news. Hate to ask: Any timeline on this? (weeks, months, years…?)

Thanks for all the efforts!

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [June 28, 2019, 4:42pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/10 "2019-06-28T16:42:19Z")

</div>

Both of these features will eventually be added. More than weeks, less than years. It is the project that @alain is working on right now, but it is also summer time and it is hard to tell exactly how difficult some of these features may be.

---

<div class="post-metadata">

**Author:** ![Alain](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/alain/32/512812_2.png) [@Alain](https://discourse.mcneel.com/u/Alain)\
**Post date:** [June 30, 2019, 10:58pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/11 "2019-06-30T22:58:36Z")

</div>

@Gijs, the missing error dialog has been [logged](https://mcneel.myjetbrains.com/youtrack/issue/RH-53537) and will be the next thing I fix.

---

<div class="post-metadata">

**Author:** ![dan](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dan/32/481637_2.png) [@dan](https://discourse.mcneel.com/u/dan)\
**Post date:** [July 9, 2019, 11:49pm UTC](https://discourse.mcneel.com/t/python-in-macwip/85309/12 "2019-07-09T23:49:01Z")

</div>

> [@Alain](#):
>
> missing error dialog

This should be fixed in [the latest RhinoBETA](http://www.rhino3d.com/go/download/rhino-for-mac/wip/latest).
