Wanderson Knupp | 1 May 17:15 2014
Picon

Invocando Spyder

Olá sou novo em Spyder! tinha instalado o python 3 em meu Windows, agora instalei o spyder-2.2.5 win-amd64.exe 
Porem não sei como invocar a plataforma do spyder. Como faço isso ? desde já agradeço.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
A L | 25 Apr 21:52 2014
Picon

Spyder doesn't see all the system fonts (Windows 7 64 bit)

Hi all.
I recently installed, for use in scientific computing, the latest WinPython distribution on my PC . It includes Spyder 2.3.0 beta 2, and I am beginning to familiarize with it, its features and interface.
One thing I noticed is that in the Preferences for the Editor, the program only allows a quite limited choice of fonts, it seems not able to see all those installed on my system. Does Spyder only allows using fixed width fonts, or is there a way to include all the TTF fonts present in the Windows directory?
Thanks, and congratulations for the good work.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Brynjar Smári Bjarnason | 25 Apr 12:03 2014

Debugging source module while older version installed

Hi.

I am developing a python module and a script that uses that module. I have a version of the module installed using
$ python setup.py --user install

so the egg is in my local site-packages and the script is in my local bin folder.

I want to keep that version installed as I need to run it occasionally but I want to be able to run the source one in Spyder and debug / change on the fly. 

So in Spyder I open the source script file which imports the module, and run it. I can then debug the script but when I step into the module I go to the egg in my local site-packages, not the source module.

I tried setting the PYTHONPATH variable in Spyder to the source of my module but when I run
$ sys.path

I get it in the middle of the list, after the path to the local site-package.

Any ideas on how to keep old version installed while developing a new one?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Ronald Modesitt | 24 Apr 03:38 2014
Picon

Inserting ascii character codes in Spyder editor

For documentation purposes I would like to be able to add some ascii 
characters for things like the square root symbol, exponential symbol and 
so forth. Is that possible in Spyder 2.2.5?
Thanks
Ron

Joel Östblom | 21 Apr 20:25 2014
Picon

Disable Alt for horizontal scrolling and enable an ipython hotkey

Hi,

First, thanks for all the great work on spyder, it is truly an amazing IDE for python! I just installed the latest beta for 2.3 and it works great, I like the design changes to the object inspector, makes it feel more inviting :p

A couple of questions:
1. I read earlier that a shortcut key was planned to be introduced for switching to the ipython console, but I can't find this in the current beta, will it be added before the final release? I think it is a big part of the work flow to switch between the editor and ipython console and F9 is not always convenient.

2. Is there any way to disable the Alt key binding to horizontal scrolling? I have Alt + PageUp bound to scroll half a page in my system, but in spyder that becomes half a page horizontally. Would be great if there were options to control the scroll keybindings.


Again, thanks for your work on spyder.
Joel

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Hermano Cabral | 20 Apr 00:34 2014
Picon

Spyder mistaking 'if' statement within a multi-line list comprehension for a regular 'if' when inserting new lines

Hi there,

I've hit a little issue when writing a multiline statement in spyder and I was wondering if this is something undesirable (i.e., a bug) or if I'm doing something wrong.  It happened when I was editing a longer than usual list comprehension and decided to break it up in multiple lines to stay under the 78-characters limit.  I have simplified the code to this.  Suppose you have the following lines:

a = [n for n in range(100)
     if n != 0
     and n % 5 == 0]


and you want to add yet another condition after the second line, like this:

a = [n for n in range(100)
     if n != 0
     and n % 2 == 0   #(<-- new condition)
     and n % 5 == 0]

What happens is that if you hit return at the end of the second line, the editor inserts a colon as the last character and opens up a new line with an extra indentation. That is, what I get just after hitting return is

a = [n for n in range(100)
     if n != 0:  #(<-- note the colon)
          _ #(<-- blinking cursor after the extra indentation)
     and n % 5 == 0]


I have the 'automatic insertion of colons...' option set in my preferences. If it is not set, this doesn't happen.

This may look like a contrived example, but it actually happened to me in a situation where I already had 3 levels of indentation and the variables all had somewhat long names.  Nevertheless, I have noticed it only recently, after more a year of heavy spyder use.

I have tested against versions 2.3.0beta4, 2.2.5 and 2.2.1 (this last one from Kubuntu 13.10).  Trying to report an issue from withing spyder gives the following information:

Spyder Version: 2.3.0beta4
Python Version: 2.7.5+
Qt Version : 4.8.4, PySide 1.1.2 on Linux
IPython >=0.13 : 0.13.2 (OK)
pyflakes >=0.5.0: 0.7.3 (OK)
pep8 >=0.6 : 1.4.6 (OK)
pygments >=1.6 : 1.6 (OK)
sphinx >=0.6.6 : 1.1.3 (OK)
psutil >=0.3 : 0.6.1 (OK)
rope >=0.9.2 : 0.9.2 (OK)
matplotlib >=1.0: 1.2.1 (OK)
sympy >=0.7.0 : None (NOK)
pylint >=0.25 : 0.26.0 (OK)


Is this really a bug?  Should I open an issue?  Thanks for your attention.

Hermano

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Taketaro Watanabe | 16 Apr 23:20 2014
Picon

Differential equation

How can I solve differential equations?

Andreas | 11 Apr 18:08 2014
Picon

Autocompletion of pyOpenCL

Hi everyone,

I am having some problems with the autocompletion in Spyder when using pyOpenCL. It seems that many things are missing and only a small sub-set of options are shown. For example:

import pyopencl as cl
cl.get_platforms()

the get_platforms() function is not shown in the autocompletion menu.

Any ideas why and how I can address that?

Best regards
Andi

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Carlos Córdoba | 9 Apr 17:41 2014
Picon

Spyder 2.3 fourth beta release

Hi all,

On the behalf of Spyder's development team, I'm pleased to announce the 
fourth beta of our next major version: Spyder 2.3.

We've been working on this version for almost a year now and as far as 
we know is very stable. There are still some minor bugs to squash but we 
encourage all people who like the bleeding edge to give it a try.

The most important improvement of this release is that it supports 
Python 3.2/3.3/3.4 besides (of course) Python 2.6/2.7. This beta also 
comes with first-class support for Enaml files and new defaults for 
several configuration options, like starting an IPython console at 
startup, and not using pylab mode for it and also our scientific startup 
script because they confuse newbies a lot. These options are still 
available but now they have to be activated by users (instead of by us).

This release comes almost three months month after beta3 and we feel we 
are quite close to the final one. To download it please go to our 
Bitbucket Downloads page (because GoogleCode doesn't let to create new 
downloads):

https://bitbucket.org/spyder-ide/spyderlib/downloads

See the incomplete changelog here:
http://code.google.com/p/spyderlib/wiki/ChangeLogBeta

And don't forget to follow Spyder updates/news on the project website 
(http://code.google.com/p/spyderlib/) and on our official blog 
(http://spyder-ide.blogspot.com/).

Enjoy!
Carlos

Roberto Rosati | 4 Apr 19:08 2014
Picon

Fixing the "replace all" freeze

Hello all!
Yesterday the "replace all" freeze bug (Issue 1513) got me, and I could reproduce it very reliably, so I thought I'd have a look at it (by creating a text relatory of where the "while" loop was passing, and displaying it with a QMessageBox - is this unorthodox?). Apparently I fixed it, so I submitted a comment in Issue 1513 and a pull request.
I tested this on Python 3.3 and 2.7, so it should work (I hope)!
Roberto

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Pete Ludlow | 1 Apr 20:54 2014
Picon

Launch Error

Hi all, 

I'm having an error when launching spyder from the terminal on my Mac (OS X 10.9). Immediately after I type 'spyder' to launch I see the following:

Traceback (most recent call last):
  File "/opt/local/bin/spyder", line 3, in <module>
    start_app.main()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/start_app.py", line 76, in main
    from spyderlib import spyder
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 106, in <module>
    from spyderlib.plugins.inspector import ObjectInspector
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/plugins/inspector.py", line 46, in <module>
    from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/utils/inspector/sphinxify.py", line 31, in <module>
    from sphinx.application import Sphinx
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/application.py", line 33, in <module>
    from sphinx.builders import BUILTIN_BUILDERS
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 16, in <module>
    import multiprocessing
  File "multiprocessing.py", line 3, in <module>
    class Worker(multiprocessing.Process):
AttributeError: 'module' object has no attribute 'Process'

Any help with solving what's up with the multiprocessing library/why this is happening would be greatly appreciated!

Thanks! 

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Gmane