Git Product home page Git Product logo

spyder-ide / spyder Goto Github PK

View Code? Open in Web Editor NEW
8.0K 299.0 1.6K 128.96 MB

Official repository for Spyder - The Scientific Python Development Environment

Home Page: https://www.spyder-ide.org

License: MIT License

Python 91.40% Shell 0.19% JavaScript 7.64% CSS 0.46% HTML 0.16% Batchfile 0.05% R 0.01% C 0.01% C++ 0.02% Java 0.01% Jupyter Notebook 0.01% Erlang 0.01% Elixir 0.01% Julia 0.01% Cython 0.01% Rich Text Format 0.03%
spyder python pyqt5 anaconda anaconda-distribution winpython qt language-server-protocol ide

spyder's Introduction

Spyder — The Scientific Python Development Environment

Copyright © 2009– Spyder Project Contributors and others (see AUTHORS.txt)

Some source files and icons may be under other authorship/licenses; see NOTICE.txt.

Project status

license pypi version conda version download count OpenCollective Backers OpenCollective Sponsors Join the chat at https://gitter.im/spyder-ide/public
PyPI status

Build status

Win Mac Linux Coverage Status codecov Crowdin Nightly conda-based installers

Try Spyder online

Binder Spyder latest release 👈 Click on this link to run the latest Spyder version in your browser.

Binder Spyder from 5.x 👈 Click on this link to check the next Spyder 5 version.

Binder Spyder from master 👈 Click on this link to test changes in our master branch.


How Spyder looks

Screenshot of Spyder's main window


Help support Spyder, the community-developed scientific IDE!

Spyder development is made possible by contributions from our global user community, along with organizations like NumFOCUS and Quansight. There are numerous ways you can help, many of which don't require any programming. If you'd like to make a donation to help fund further improvements, we're on OpenCollective.

Thanks for all you do to make the Spyder project thrive! More details


Overview

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, analysis, debugging, and profiling functionality of a comprehensive development tool with the data exploration, interactive execution, deep inspection, and beautiful visualization capabilities of a scientific package.

Beyond its many built-in features, its abilities can be extended even further via its plugin system and API. Furthermore, Spyder can also be used as a PyQt5 extension library, allowing you to build upon its functionality and embed its components, such as the interactive console, in your own software.

For more general information about Spyder and to stay up to date on the latest Spyder news and information, please check out our new website.

Core components

  • Editor

    Work efficiently in a multi-language editor with a function/class browser, real-time code analysis tools (pyflakes, pylint, and pycodestyle), automatic code completion (jedi and rope), horizontal/vertical splitting, and go-to-definition.

  • Interactive console

    Harness the power of as many IPython consoles as you like with full workspace and debugging support, all within the flexibility of a full GUI interface. Instantly run your code by line, cell, or file, and render plots right inline with the output or in interactive windows.

  • Documentation viewer

    Render documentation in real-time with Sphinx for any class or function, whether external or user-created, from either the Editor or a Console.

  • Variable explorer

    Inspect any variables, functions or objects created during your session. Editing and interaction is supported with many common types, including numeric/strings/bools, Python lists/tuples/dictionaries, dates/timedeltas, Numpy arrays, Pandas index/series/dataframes, PIL/Pillow images, and more.

  • Development tools

    Examine your code with the static analyzer, trace its execution with the interactive debugger, and unleash its performance with the profiler. Keep things organized with project support and a built-in file explorer, and use find in files to search across entire projects with full regex support.

Documentation

You can read the Spyder documentation online on the Spyder Docs website.

Installation

For a detailed guide to installing Spyder, please refer to our installation instructions.

The easiest way to install Spyder on any of our supported platforms is to download it as part of the Anaconda distribution, and use the conda package and environment manager to keep it and your other packages installed and up to date.

If in doubt, you should always install Spyder via this method to avoid unexpected issues we are unable to help you with; it generally has the least likelihood of potential pitfalls for non-experts, and we may be able to provide limited assistance if you do run into trouble.

Other installation options exist, including:

  • The WinPython distribution for Windows
  • The MacPorts project for macOS
  • Your distribution's package manager (i.e. apt-get, yum, etc) on Linux
  • The pip package manager, included with most Python installations

However, we lack the resources to provide individual support for users who install via these methods, and they may be out of date or contain bugs outside our control, so we recommend the Anaconda version instead if you run into issues.

Troubleshooting

Before posting a report, please carefully read our Troubleshooting Guide and search the issue tracker for your error message and problem description, as the great majority of bugs are either duplicates, or can be fixed on the user side with a few easy steps. Thanks!

Contributing and Credits

Spyder was originally created by Pierre Raybaut, and is currently maintained by Carlos Córdoba and an international community of volunteers.

You can join us—everyone is welcome to help with Spyder! Please read our contributing instructions to get started!

Certain source files are distributed under other compatible permissive licenses and/or originally by other authors. The icons for the Spyder 3 theme are derived from Font Awesome 4.7 (© 2016 David Gandy; SIL OFL 1.1). Most Spyder 2 theme icons are sourced from the Crystal Project icon set (© 2006-2007 Everaldo Coelho; LGPL 2.1+). Other Spyder 2 icons are from Yusuke Kamiyamane (© 2013 Yusuke Kamiyamane; CC-BY 3.0), the FamFamFam Silk icon set (© 2006 Mark James; CC-BY 2.5), and the KDE Oxygen icons (© 2007 KDE Artists; LGPL 3.0+).

See NOTICE.txt for full legal information.

Running from a git clone

Please see the instructions in our Contributing guide to learn how to do run Spyder after cloning its repo from Github.

Dependencies

Important Note: Most or all of the dependencies listed below come with Anaconda and other scientific Python distributions, so you don't need to install them separately in those cases.

Build dependencies

When installing Spyder from its source package, the only requirement is to have a Python version equal or greater than 3.8.

Runtime dependencies

The basic dependencies to run Spyder are:

  • Python 3.8+: The core language Spyder is written in and for.
  • PyQt5 5.15+: Python bindings for Qt, used for Spyder's GUI.

The rest our dependencies (both required and optional) are declared in this file.

Sponsors

Spyder is funded thanks to the generous support of

QuansightNumfocus

and the donations we have received from our users around the world through Open Collective:

Sponsors

More information

Main Website

Download Spyder (with Anaconda)

Online Documentation

Spyder Github

Troubleshooting Guide and FAQ

Development Wiki

Gitter Chatroom

Google Group

@Spyder_IDE on Twitter

@SpyderIDE on Facebook

Support Spyder on OpenCollective

spyder's People

Contributors

andfoy avatar bcolsen avatar blink1073 avatar cam-gerlach avatar ccordoba12 avatar csabella avatar dalthviz avatar dhoegh avatar dpturibio avatar goanpeca avatar impact27 avatar isabela-pf avatar jedludlow avatar jitseniesen avatar jnsebgosselin avatar juanis2112 avatar malliwi88 avatar mariacamilarg avatar metalogical avatar mrclary avatar nodd avatar ok97465 avatar oscargus avatar pierreraybaut avatar prikers avatar rear1019 avatar rlaverde avatar steff456 avatar sylvaincorlay avatar techtonik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spyder's Issues

Input Japanese Text in Editor

From [email protected] on 2009-08-24T00:39:51Z

What steps will reproduce the problem?

When I input Japanese text into the editor, I can't see what I have inputed
until I press Enter key. Please see the attach file
"japanese_input_in_editor.jpg".

spyder-1.0.0beta2 has the same problem with the Interactive console window,
but it has been fixed by spyder-1.0.0beta3. Please see the attach file:
"japanese_input_in_console.jpg".

So I think maybe the same changes with the console window can fix this problem
in the editor window. What version of the product are you using? On what operating system? spyder-1.0.0beta3
Japanese Windows XP

Attachment: japanese_input_in_editor.jpg japanese_input_in_console.jpg

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=8

"indent current line or selection" does not work

From [email protected] on 2009-09-15T11:33:20Z

What steps will reproduce the problem?

  1. select a group of lines to indent
    1. select "indent current line or selection" from toolbar
    2. the selected lines should be indented, but nothing happens What is the expected output? What do you see instead? I expect the selected lines to be indented but nothing happens. What version of the product are you using? On what operating system? version 1.0.0beta6 on windows XP

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=47

Cannot run scripts in interactive console

From [email protected] on 2009-08-30T12:29:55Z

What steps will reproduce the problem?

1.Ubuntu 9.04
2. Delete user configurations: Renamed .spyder folder and .spyder.ini in
home directory
3. Run standard temporary file in interactive console What is the expected output? What do you see instead? Script should be executed without any error, but I get the following error
(running spyder in --debug mode):

File "/home/m/.spyder/.temp.py", line 7
"""
Spyder Editor

This temporary script file is located here:
/home/m/.spyder/.temp.py
"""

^
SyntaxError: invalid syntax What version of the product are you using? On what operating system? v1.0.0beta3 on Ubuntu 9.04

Please provide any additional information below

. External console and older versions (pydee) work without problems.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=18

Make Ctrl+Tab to navigate between tabs in Most Recently Used (MRU) order

From [email protected] on 2009-09-13T12:00:46Z

Ideally, Ctrl + Tab could be used to navigate between tabs in Most
Recently Used order.

You can see MRU in browsers or Notepad++ - very convenient to repeatedly
switch between two tabs.

The Matlabesque Ctrl+ PgUP/PgDwn becomes painful if the tabs are not
close, and the Ctrl + Tab is easy to remember, by analogy with the Alt +
Tab.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=43

Option to auto switch the cwd to currently edited script

From [email protected] on 2009-09-12T06:14:57Z

This way, the snippets in script.py that are evaluated through Ctrl+F9
will use the same relative path than execfile(script.py).

It avoids manually changing the cwd each time, but it can (I suppose?)
become risky/confusing as the number of edited scripts increases, so
better in an option.

Also, I couldn't find the option to file this as an 'enhancement', rather
than 'defect'.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=34

Unicode error supresses traceback

From [email protected] on 2009-09-07T03:48:06Z

What steps will reproduce the problem?

  1. Execute a file with a unicode character in name or path (and an error)
    1. Watch the traceback 3. What is the expected output? What do you see instead? Expected a traceback with a link. Instead that line is missing from the
      traceback.

example:

execfile(u'/home/rikard/Pylab/test 1/test.py')

Traceback (most recent call last):

File "/home/rikard/Pylab/test 1/test.py", line 8, in 
 foo

NameError: name 'foo' is not defined

execfile(u'/home/rikard/Pylab/test b\xe4/test\xe4.py')

Traceback (most recent call last):

NameError: name 'foo' is not defined

execfile(u'/home/rikard/Pylab/test b\xe4/test0.py')
Traceback (most
recent call last):

NameError: name 'foo' is not defined

execfile(u'/home/rikard/Pylab/test 1/test\xe4.py')

Traceback (most recent call last):

NameError: name 'foo' is not defined


Also notice the lack of unicode characters in the execfile argument. That
works ok but it is hard to read. It would probably be completely gibberish
in some languages. What version of the product are you using? On what operating system? beta5 on XP (error also reproduced on beta 6 on linux).

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=25

Traceback link not clickable

From [email protected] on 2009-09-03T01:22:47Z

What steps will reproduce the problem?

  1. open a file where the path to the file contains a space in a directory name
    1. Introduce an error in the code in the file, and run it
    2. try to click the link in the traceback output What is the expected output? What do you see instead? The link produced by the traceback is not clickable, instead,the text up to
      the first space character is selected What version of the product are you using? On what operating system? beta5 py26 on python(x,y) beta3 on XP

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=24

end-of-line character with copy and paste on WindowsXP US English

From josef.pktd on 2009-09-01T19:46:18Z

What steps will reproduce the problem?

  1. execute some commands in interactive shell
    1. select several lines and copy
    2. paste into editor What is the expected output? What do you see instead? No line breaks show up What version of the product are you using? On what operating system? 1.0.0beta 5, but I think it was also in a previous beta
      WindowsXP US English
      editor and shell seem to be on default utf-8

Please provide any additional information below

. It looks like the end of line character is
utf8 : \u2029
or \xe2\x80\xa9 in binary ?

ss3 is a are a few lines copied from the interactive shell to the editor
and assigned to the name ss3, saved in a file and then run with IDLE to be
able to produce and output that can be copied. The code for the line break
looks the same if I do this in the spyder interactive shell, but print
ss3.decode('utf8') has line breaks

print ss3

results.bse
array([ 0.12237905, 0.01184194, 0.26478924])
>>>
print results.bse
[ 0.12237905 0.01184194 0.26478924]
>>> print
results.params
[ 1.01755649 0.10454625 9.70001347]

ss3.decode('utf8')
u'\n>>> results.bse\u2029array([ 0.12237905, 0.01184194,
0.26478924])\u2029>>> print results.bse\u2029[ 0.12237905 0.01184194
0.26478924]\u2029>>> print results.params\u2029[ 1.01755649 0.10454625
9.70001347]\n'
print ss3.decode('utf8')

results.bse
array([ 0.12237905, 0.01184194, 0.26478924])
>>> print
results.bse
[ 0.12237905 0.01184194 0.26478924]
>>> print
results.params
[ 1.01755649 0.10454625 9.70001347]

print repr(ss3)
'\n>>> results.bse\xe2\x80\xa9array([ 0.12237905, 0.01184194,
0.26478924])\xe2\x80\xa9>>> print results.bse\xe2\x80\xa9[ 0.12237905
0.01184194 0.26478924]\xe2\x80\xa9>>> print results.params\xe2\x80\xa9[
1.01755649 0.10454625 9.70001347]\n'

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=20

Use a self-registering plugin concept

From [email protected] on 2009-09-14T16:05:01Z

Spyder is a great application for fast interactive scientific data analysis.
But every sciencentific field has different needs.
The development, sharing, installation and extension of Spyder should be
carefree and easy.
A smart plugin system will make the programs capabilities as everyone can
create plugins easily and expand the prgram!

Add a way that plugins can be installed

  1. without changing the main application code
  2. including managing depndencies (one plugin that builds on top of others).

There are even mature python apps which don't have this currently -- such
as bazaar.

Options for plugin managementsystem:

  1. use the python egg system

Best regards,
Timmie

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=46

Indentation is missing when copy paste in external console

From [email protected] on 2009-08-19T08:44:56Z

What steps will reproduce the problem?

  1. in the editor, write a class or a method
    1. copy the lines and paste to an interactive external console What is the expected output? What do you see instead? The class or function or anything should copy with the same identation then
      in the editor (still removing a common indent if by exemple a method from a
      class is copied).
      Instead, the second line always misses an identation, which then makes an
      error in the interpreter.

By exemple, in the editor I have:
class cSomeClass():

def __init__(self):

    pass

def foo():

    print('it works')

Copy paste in an interactive external console:

class cSomeClass():

def __init__(self):

    pass

def foo():

    print('it works')

...
IndentationError: unexpected indent

In the Interactive Shell it is correct

class cSomeClass():

... def init(self):

... pass

... def foo():

... print('it works')

...

What version of the product are you using? On what operating system? pydee 0.4.21 and spyder 1.0.0b2, but I think that it as been like that
before
I run ubuntu and kubuntu

Please provide any additional information below

. I will use this section to point out some thingns I would love to see.

  1. I work a lot with the interactive console (not external) and I like much
    the ctrl+F9 short cut to send a selection to the interpreter. Would it be
    hard to also have this feature in the external console in interactive mode

  2. I often use the external consol, for it is advantageous for avoiding to
    crash pydee/spyder when a code freezes. More importantly then that, it is
    much faster at evaluating the series of lines of the code. Why is the
    interactive console (not the external) is so slow at parsing lines? Would
    it be easy to speed it up. The long time it takes to parse a long piece of
    code (exemple a long class with a little new modification) is certainly the
    thing I find the most disadvantageous compared to other IDE. But there is
    no wory, I like so much Pydee/Spyder, that I defenitely will stay with it
    and keep working with it!

  3. The code completion in the console works very well with the loaded
    modules. Is it possible to activate the code completion from the api and
    loaded module in the editor? Exemple, if scipy is imported in the
    interactive console, in the editor, "scipy." will trigger the code
    completion showing available methods.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=6

unicode error

From [email protected] on 2009-08-17T08:02:57Z

I misstakenly posted this as a new issue in pydee, I ment to post it here.
Sorry for the double post.

This is the same as issue #58 in pydee. A unichode character in the file
name will produce the folowing error if run in the interactive console
(filename is test-ä.py, opened and then executed by clicking on the run in
interactive console-icon ):

execfile(u'C:\Documents and Settings\serg13545\My Documents\test-\xe4.py')
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\spyderlib\interpreter.py", line 39,
in execfile
code = compile(source, filename, "exec")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
position 54: ordinal not in range(128)

The same error occurs if I type in the name manually (to get the correct
file name)
or if the unicode error is in the directory path.

What version of the product are you using? On what operating system?

spyder 1.0.0beta2, python 2.5.4

Please provide any additional information below

.
spyder seems to be coming along nicely. I will continue to test for unicode
errors as that is what is holding it back from deployment at work.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=3

Prepare source code for debian package

From pierre.raybaut on 2009-08-25T07:07:16Z

Spyder will soon be available as a debian package.
The following code changes are required to help the debian developer
packaging Spyder.

In config.py:
DATA_PATH = DEV_DATA_PATH # @@DATA_PATH@@
DOC_PATH = DEV_DOC_PATH # @@DOC_PATH@@
-> update image path and python.api path using DATA_PATH

( DATA_PATH: spyder_fr.qm, python.api, images/.
DOC_PATH: doc/. )

In spyder.py:
* link to doc: update the link using config.DOC_PATH
* translation: update the translation path using config.DATA_PATH

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=11

Editor: is it possible to enhance code-completion with modules imported in Interactive Console?

From pierre.raybaut on 2009-08-19T14:23:31Z

The code completion in the console works very well with the loaded
modules. Is it possible to activate the code completion from the api and
loaded module in the editor? Exemple, if scipy is imported in the
interactive console, in the editor, "scipy." will trigger the code
completion showing available methods.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=7

Focus change causes traceback

From [email protected] on 2009-09-02T00:36:40Z

What steps will reproduce the problem?

  1. Loose conection with volume that contains an active file
    1. klick on the file in the editor.
    2. Traceback produced What is the expected output? What do you see instead? IOexception should probably be caught.

the output:

Traceback (most recent call last):

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 378,
in focus_changed
 self.refresh()

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 454,
in refresh
 self.__check_last_modified(index)

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 435,
in __check_last_modified
 self.reload(index)

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 517,
in reload
 txt, finfo.encoding = encoding.read(finfo.filename)
 File
"C:\Python26\lib\site-packages\spyderlib\encoding.py", line 169, in read

text, encoding = decode( file(filename, 'rb').read() )
IOError: [Errno 2]
No such file or directory: u'E:\henriksdal-3D-test.py' What version of the product are you using? On what operating system? python(x,y) 2.6.0 beta 3 on XP

Please provide any additional information below

. This is not a showstopper but it should be an easy fix. It is getting
harder and harder to find those little bugs but I am still trying. =)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=21

Editor: add context-based code completion

From [email protected] on 2009-09-14T15:47:06Z

  1. Editor
    The features code completion.
    I noticed that this works only for functions previously
    used in the editor.
    Also, please extend the autocompletion to variables
    defined before.

myvariable = 10
myvariable3 = 11

myvar____ should offer the two for completion.
Just like in pydev.

Well, regarding code completion, they are many ways to implement it -
each software has its own.
So I don't think that it should behave like this but rather that you
would like to :)

Actually, the real feature request here is to implement "context-based
code completion".

This feature won't be implemented for v1.0 (at some point, choices had
to be made to be able to provide a stable software).
Maybe for v1.1: https://code.google.com/p/spyderlib/wiki/Roadmap

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=45

Raise again code completion after misspelling a symbol

From pierre.raybaut on 2009-09-12T02:47:22Z

It would be great if the intellisense would raise in that case:

import numpy

numpy. ->Intellisense raises
numpy.deg ->Intellisense shows "deg2rad"
numpy.degt ->Oh, i misspelled it, intellisense closed, i will delete last
letter
numpy.deg ->Ups, where is intellisense???? Would be great if it would
raise again

best regards
Reported by [email protected], Yesterday (22 hours ago)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=32

Better "send to console"

From [email protected] on 2009-09-12T06:29:27Z

Right now the send to console only sends the selection. Some editors have
useful possibilities :

  • send line
  • send line and step down one line
  • send block of contiguous lines

Also, the selection is sent as-is. Maybe it would be a good idea (option?)
to trim the comments?

At last, an option to tweak the "sleep" time between sent lines (I'd
minimize it as long as I don't have problems).

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=36

Array editor mishandles type 32 arrays

From [email protected] on 2009-08-24T02:23:40Z

What steps will reproduce the problem?

  1. generate a 32 array. ie datum=csv2rec('tider.txt', names='date'), where
    tider.txt is a csv file with dates.
  2. click on the name datum in the workspace viewer. What is the expected output? What do you see instead? A popup indicates that type 32 arrays are not handled (expected behavior)
    But there is also a traceback in the interactive console (including the odd
    characters):

Traceback (most recent call last):
 File
"C:\Python25\lib\site-packages\spyderlib\widgets\dicteditor.py", line 413,
in createEditor
 editor = ArrayEditor(value, title=key,
readonly=readonly)
 File
"C:\Python25\lib\site-packages\spyderlib\widgets\arrayeditor.py", line 320,
in init
 xy_mode=xy, readonly=readonly, parent=self)
 File
"C:\Python25\lib\site-packages\spyderlib\widgets\arrayeditor.py", line 54,
in init
 self.test_array = N.array([0],
dtype=data.dtype)
ValueError: tried to set void-array with object members
using buffer.



Traceback (most recent call last):�  File

"C:\Python25\lib\site-packages\spyderlib\widgets\dicteditor.py", line
413, in createEditor� editor = ArrayEditor(value, title=key,
readonly=readonly)� File
"C:\Python25\lib\site-packages\spyderlib\widgets\arrayeditor.py", line
320, in init� xy_mode=xy, readonly=readonly, parent=self)� File
"C:\Python25\lib\site-packages\spyderlib\widgets\arrayeditor.py", line
54, in init� self.test_array = N.array([0],
dtype=data.dtype)�ValueError: tried to set void-array with object members
using buffer.
 ^
SyntaxError: invalid syntax
>>> What version of the product are you using? On what operating system? Beta3 on XP. p2.5

Please provide any additional information below

. Keep up the good work. Its getting harder to find bugs. =)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=9

Add a "Browse" button in pylint widget

From [email protected] on 2009-09-13T16:16:42Z

Hi pierre,
I've just installed last 1.0.0beta7.
Wow, fantastic!
I'm very impressed by the quality of the environment! :)

I've only tryed to open files of my project and I wasa very pleased to see
the integration of pyflake and pylint!
Veeeeryy good.

The only thing that was not easy to use was the pylint widget.
I think it is missing a file selector to be able to pylint a file easily.
(It takes me time to undersatnd that I had to put the filename in the text
zone.)

Perhaps it could be a good idea to have a way from the editor to launch pylint?

Anyway, all of this work is excelent!

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=44

UnboundLocalError in pylint pluin

From [email protected] on 2009-09-13T03:25:49Z

Steps to reproduce the problem

  1. open http://sourceforge.net/apps/trac/gsdview/browser/trunk/gsdview/assistanthelper.py?rev=536 in the spyder editor
  2. click on "Analyze" button in the pylint dock

Output: the following error message printed in the interactive console:

"""
Traceback (most recent call last):
File
"/home/antonio/local/lib/python2.6/site-packages/spyder-1.0.0beta6-py2.6.egg/spyderlib/widgets/pylintgui.py",
line 331, in finished
item = (module, line_nb, message)
UnboundLocalError: local variable 'module' referenced before assignment
"""

Expected output: pylint report printed someware

Software versions:

  • Spyder 1.0.0beta6
  • GNU/Linux x86_64
  • Ubuntu 9.04
  • python 2.6.2
  • PyQt4 v.4.4.4
  • Qt4 v. 4.5.0

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=41

Add startup option consistent with Numpy/Scipy coding guidelines

From [email protected] on 2009-09-02T06:38:58Z

Hi,
It would be nice if Spyder had a startup option that was consistent with
the coding style guidelines for numpy and scipy as documented here: http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines import numpy as np
import scipy as sp
import matplotlib as mpl
import matplotlib.pyplot as plt

The attached spyder.py has a new option --spack (scientific packages) that
enables this capability.

Attachment: spyder.py

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=22

Menu items lost after closing and re-opening spyder

From [email protected] on 2009-09-17T16:04:19Z

What steps will reproduce the problem?

  1. Open spyder
    1. Exit Spyder
    2. Open spyder

Everytime I re-open spyder more entries are lost off the left edge of the
main menu. so when I open spyder the first time, I get the QT, python xy
entries, followed by file save etc. If I close spyder and re-open, I have
lost the menus for QT, python xy. If I delete the file .spyder in my home
directory, all is back as usual until I exit spyder again. What version of the product are you using? On what operating system? spyder-1.0.0beta7
OpenSuSE 11.1 64-bit

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=50

Drag filenames in the tab bar of editor

From [email protected] on 2009-08-19T01:34:17Z

What steps will reproduce the problem?

  1. open 2 python files in editor, for examples, test1.py test2.py
    1. in the filename tab bar, drag the right filename to the left filename to
      reorder two files What is the expected output? What do you see instead? instead of "test2.py test1.py", filenames become the same, "test2.py
      test2.py".
      When I active the wrong filename tag, it changs to the right name. What version of the product are you using? On what operating system? WindowsXP, Spyder 1.0.0beta2

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.