Spyder missing Object Inspector

The “Object Inspector” is now called “Help” (from Spyder version 3.0 onwards); see https://groups.google.com/forum/#!topic/spyderlib/pF7KmSKDFXc . However, the Ctrl-I shortcut has not been changed, so I’m not sure what’s happening with that.

Ways to invoke python and Spyder on OSX

To make spyder callable from Spotlight or Finder: Locate where your spyder executable is by running in Terminal: which spyder This should yield ~/anaconda/bin/spyder if you installed spyder via Anaconda, /opt/local/bin/spyder if you used MacPorts or something similar. Create a file called spyder in your Applications directory and make it executable. Then, fill it with … Read more

spyder change editor default font/scale/zoom

Seems that I didn’t inspect Preferences attentively enough initially. Right answer is: Preferences → Text and margin font style → Size EDIT: updating answer according to comments. In the latest versions of Spyder IDE path to changing font size is: Tools → Preferences → General → Appearance → Fonts EDIT2 (since march 2021): Tools → … Read more

How to use argv with Spyder

To pass argv to a script in Spyder, you need to go the menu entry Run > Configuration per file or press the Ctrl+F6 key, then look for the option called Command line options on the dialog that appears after that, and finally enter the command line arguments you want to pass to the script, … Read more

Spyder, Run script located on remote server

The path for the %run magic needs to be the path that the server sees, not the client. You are passing the path from the client’s perspective. When you type run Z:/blah/blah/blah.py, your terminal sends that path to the IPython server to execute. The server looks for the path Z:/blah/blah/blah.py, but since it doesn’t exist … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)