SN1984jm | 12 Mar 18:13 2014
Picon

Export Spyder configuration to different machine

Hi,

Over time I configured my Spyder version on one pc just the way I like it, and now I would like to install Spyder somewhere else with the same settings.
Is there a way to export configurations like syntax highlighting, background colours and fonts?

I'm using Linux (Kubuntu) and Spyder v2.2.1.

--
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.
wxwacker32 | 11 Mar 00:19 2014
Picon

Re: clear shell command



Am Freitag, 19. März 2010 11:39:02 UTC+1 schrieb Duim:
First of all: I really like Spyder and use it all the time.

question: Is there a command within Spyder to clear the shell and the
workspace?

If you want to clear the shell in order to avoid confusing different outputs you can use something like print('n'*1000)  in your script as shorter yet less elegant alternative to the os.system call.
Altertanively you could use an Ipython console which features numbered outputs.

Restarting the Python Interpreter will reset both shell and workspace.
So what about a "Clear Console" option in the "Interactive console" menu similar to the Clear button of GIMP's Python console?


--
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.
Arno Uhlig | 10 Mar 17:06 2014
Picon

PySide.QtGui ImportError

Hello.
I'm using Spyder 2.2.5, Python 2.7.5, Qt 4.8.4 (all 32bit) on an Win 8.1 64bit PC.
After installing PySide 1.2.1 (32bit, too) without any error I cannot import the QtGui-Module from the PySidePackage in Spyder.
It throws this: "ImportError: DLL load failed: The specified procedure could not be found. "
But I'm able to import PySide.QtCore.

This does not happen with other editors (or with a simple cmd-line) or when I'm using Win 7 64bit.

Can someone provides help or hints on this problem? It appears to be Spyder specific.


Best regards.

--
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.
dhf | 10 Mar 00:19 2014
Picon

Overwrote a main program when i saved, is there a way to recover? (no b/u)

Hello,
I acceidently over wrote a file i was working on, which appreantly is not 
do hard to do in Spyder. Is there a way to recover?
Thanks
Dan

Roberto Rosati | 9 Mar 20:37 2014
Picon

Memory usage check in Windows ?

Hello all,
I'm really a newbie - I'm a molecular biologist, not a programmer. I hope I'm not making a fool of myself, but yesterday I switched to Python 3.3 and reinstalled Spyder (2.3.0beta3), and opening an Internal console window, noticed an error caused by the system.py script.
Being curious, today I decided to ask around on Stackoverflow, and *if* this is really a bug, I might have come up with a solution. Would you please review the thread and check if it's worth of anything for the next release?

http://stackoverflow.com/questions/22286622/trying-to-understand-an-error-wintypes-structure

Thank you!

Roberto Rosati

--
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.
Srinivasan Rajaraman | 7 Mar 17:35 2014
Picon

IPython console is inactive in Spyder 2.2.5

Hi,

I am a new user of Spyder. I have Spyder 2.2.5 on Python 2.7.5 64 bits, Qt 4.8.4, PySide 1.2.1 on Windows.

For some reason, when I click on the IPython Console, the whole console area is grayed out and I can't type anything in that.

I'd appreciate you help.

Srini

--
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.
Sylvain Corlay | 5 Mar 21:24 2014
Picon

Run code at startup in IPython console

In the current preference dialog, in the "IPython console" tab, there is a possibility to run several lines of codes, separated with commas (btw, why not semi-columns). 
How about we provide a real text-edit widget for this? I am interested to know if there is any reason not to do it, otherwise, I would be happy to help and make a PR. 
S. 

--
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/groups/opt_out.
Neil | 3 Mar 20:49 2014
Picon

Recovering workspace data

I am new to Python and Spyder and need some help figuring out how to retrieve my workspace data (existing local variables) when a Spyder python console session gets terminated unexpectedly.

For example, when running PyQt code from command like I frequently forget to start an instance of QApplication which invariably generates an error that causes the console session to terminate. When this occurs I also lose all existing data in variable explorer. I haven't been able to figure out how to get into debug mode or some other way to get back to this session so that I can recover data present prior to the session being killed. I am using Spyder packaged with the latest PythonXY.

Thanks for any assistance.




--
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/groups/opt_out.
William Gardiner | 3 Mar 18:49 2014
Picon

Re: clear shell command

from http://scientificcomputingco.blogspot.com/2013/10/python-spyder-clear-workspaceshell.html
add the following to C:/Python27/Lib/site-packages/spyderlib/scientific_startup.py (I inserted it at the end of the file)

#==================
# clear functions from http://scientificcomputingco.blogspot.com/2013/10/python-spyder-clear-workspaceshell.html
#===================
def clear():
        '''Clears the shell of the spyder application
        Use either clear() or cls()'''
        os.system('cls')
        return None
cls = clear

def clear_all():
    '''Clears all the variables from the workspace of the spyder application.'''
    cls()
    gl = globals().copy()
    for var in gl:
        if var[0] == '_': continue
        if 'func' in str(globals()[var]): continue
        if 'module' in str(globals()[var]): continue

        del globals()[var]

setscientific()
del setscientific
clear_all()
print 'Type "scientific" for more details.'

I'm getting an error saying that setscientific() is not defined though when I start spyder and an error saying "The system cannot find the path specified" when I run the clear_all() command.
But it seems to work regardless, clears all the variables from the Variable Explorer.


On Tuesday, March 23, 2010 7:11:49 AM UTC-7, Duim wrote:
ok, thank you.

There isn't a command which I can use in my python script?

I would like the same for a "clear workspace"

Reason I'm asking is that I'm using Spyder often like I used to use
Matlab and I'm looking for the same thing as matlab functions "clear
all" and "clc".

On Mar 21, 11:14 am, Pierre Raybaut <pierre.rayb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> In "Interactive console" menu: click on "Restart Python interpreter".
>
> Cheers,
> Pierre
>
> On Mar 19, 11:39 am, Duim <bauketi...-Re5JQEeQqe8@public.gmane.orgm> wrote:
>
> > First of all: I really like Spyder and use it all the time.
>
> > question: Is there a command within Spyder to clear the shell and the
> > workspace?
>
>

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
Michal Galdzicki | 1 Mar 05:23 2014
Picon

How to change the default home path for Open/ Save as?

Currently the default path that Open and Save as buttons use is the 'USERPROFILE' env variable. Where in the code base is this default set? Is there a place I could specify a path for users by default on a fresh install. For example, I would like to have my users default Spyder directory to be in ~/Documents/SpyderFiles/.

thanks for any help in this direction,
mike

 

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
Michal Galdzicki | 28 Feb 00:23 2014
Picon

console (tab) selection on default startup

Currently the ipython console (tab) is the active tab by default on startup.
What/ where is there control over the default tab which is selected for the consoles on startup?  I would like to have the regular python console tab be active instead of ipython.
I'm looking for any solution which I can do temporarily in my custom installer. Of course I would recommend this for the overall default, but that's secondary.

I'm working with 88f93ae (current tip) and running dist utils to make the installer.
thanks,
mike

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

Gmane