Princeton University Python Community

It is currently 14 Dec 2017, 04:47

Beginner Help!

Report Issues with your Editor: iPython, Spyder and more
  • Author
  • Message

Paul Gauthier

  • Posts: 43
  • Joined: 16 Jan 2014, 15:13

Beginner Help!

Post14 Oct 2014, 12:38

Hey Beginner with Spyder and Python,

If you struggle with a function and would like to know what this function does, explore the options in SPYDER:

Activate your Object Inspector:

View> Panes> Object inspector

To activate the interactivity of the Object inspector:

Preferences > Object Inspector

And tick any of the options in Automatic connection > Apply

Now go to your console and write:

Code: [Select all] [Expand/Collapse] [Download] (Untitled)
  1. >>>import numpy as np
  2. >>>np.mean(
GeSHi © Codebox Plus

Normally the object inspector gives you the description of what the function mean() of the library numpy does. you even have examples. Nice, no? ;)

For more tips about Spyder, Stay tuned and subscribe to this forum (the icon in the right corner of the page, just below the grey header)

Return to Editor Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest