

Preventing the generic python rocket icon to appear besides the spyder iconįor this, uncheck in spyder the option Tools -> Preferences -> iPython console -> Graphics -> Activate (matplotlib) Voilà, spyder has become suddenly much more Mac-friendly!ĮDIT: One can further improve the mac-friendliness of spyder by: (Optional) Create an app icon like in steps 4 and 5 of the accepted answer. at spyder.app/Contents/ist) with the following content: To convert /usr/local/bin/spyder3 (the result of which spyder3 on my machine) into a traditional Mac application:Ĭreate a Mac application bundle (basically a folder structure containing an executable file): cd /ApplicationsĮcho -e '#!/bin/bash'"\n /usr/local/bin/spyder3 > spyder.app/Contents/MacOS/spyderĬhmod +x spyder.app/Contents/MacOS/spyderĬreate a plain text file called ist in the Contents folder (i.e. These drawbakcs can be avoided by creating a proper Mac application bundle for spyder, which is surprisingly easy to do. The accepted answer has two drawbacks: a console windows appears when starting spyder and one cannot keep a spyder icon in the dock.

#Launching python on mac how to#
However, I suspect it may be easy to figure out how to do these (or whether it's possible) once I've figured out how I'm going to invoke my scripts in the first place. Controlling whether the resulting console window disappears when the script completes or waits around for the user (me) to close it Controlling which scripts create a console window when they run and which do notī. Once I have this working, I'm interested in doing the following:Ī.
#Launching python on mac code#

#Launching python on mac install#
I recently bought a MacBook and install Python on it via Anaconda.
