Re: ipython display figure

2021-04-13 Thread Stestagg
I'm guessing here a little bit, but it looks like the author expects you to run this code in a jupyter notebook, rather than in an ipython interactive console. The jupyter and ipython projects are related (the same?) which can cause some confusion, but if you run the code you shared in a jupyter l

Re: ipython in different loctions.

2019-10-05 Thread Cameron Simpson
On 03Oct2019 00:45, Hongyi Zhao wrote: On Thu, 03 Oct 2019 10:19:23 +1000, Cameron Simpson wrote: bash -x ~/.pyenv/shims/ipython3 and see what its final command does. Tried as follows: - werner@localhost:~$ bash -x ~/.pyenv/shims/ipython3 [...] + exec /home/werner/.pyenv/

Re: ipython in different loctions.

2019-10-02 Thread Hongyi Zhao
On Thu, 03 Oct 2019 10:19:23 +1000, Cameron Simpson wrote: > bash -x ~/.pyenv/shims/ipython3 > > and see what its final command does. Tried as follows: - werner@localhost:~$ bash -x ~/.pyenv/shims/ipython3 + set -e + '[' -n '' ']' + program=ipython3 + [[ ipython3 = \p\y\t\h\o\

Re: ipython in different loctions.

2019-10-02 Thread Cameron Simpson
On 02Oct2019 07:37, Hongyi Zhao wrote: I noticed that the ipython on my Debian box located in the following locations: werner@localhost:~$ ls .local/bin/ipython* .local/bin/ipython .local/bin/ipython3 werner@localhost:~$ ls .pyenv/shims/ipython* .pyenv/shims/ipython .pyenv/shims/ipython3 I

Re: ipython does not work with latest version of prompt-toolkit

2018-12-18 Thread banerjee . rohan98
On Sunday, 3 June 2018 13:58:14 UTC+5:30, Cecil Westerhof wrote: > When executing: > pip3 list --no-cache-dir --outdated > > I got: > prompt-toolkit 1.0.152.0.1wheel > PyGObject 3.28.23.28.3 sdist > youtube-dl 2018.5.30 2018.6.2 wheel > > So I executed: >

Re: ipython and prompt-toolkit

2018-09-27 Thread Thomas Jollans
On 27/09/2018 07:14, Cecil Westerhof wrote: For a long time I cannot update prompt-toolkit, because ipython requires a version lower as 2. That is why I still use 1.0.15 instead of 2.0.4. Any chance that ipython will be updated concerning this dependency? Well this is an interesting coincidenc

Re: ipython does not work with latest version of prompt-toolkit

2018-06-03 Thread Cecil Westerhof
Chris Warrick writes: > On Sun, 3 Jun 2018 at 10:32, Cecil Westerhof wrote: >> >> When executing: >> pip3 list --no-cache-dir --outdated >> >> I got: >> prompt-toolkit 1.0.152.0.1wheel >> PyGObject 3.28.23.28.3 sdist >> youtube-dl 2018.5.30 2018.6.2 wheel >

Re: ipython does not work with latest version of prompt-toolkit

2018-06-03 Thread Chris Warrick
On Sun, 3 Jun 2018 at 10:32, Cecil Westerhof wrote: > > When executing: > pip3 list --no-cache-dir --outdated > > I got: > prompt-toolkit 1.0.152.0.1wheel > PyGObject 3.28.23.28.3 sdist > youtube-dl 2018.5.30 2018.6.2 wheel > > So I executed: > pip3 insta

Re: ipython install

2018-05-05 Thread Terry Reedy
On 5/5/2018 6:09 AM, Sharan Basappa wrote: On Saturday, 5 May 2018 15:02:33 UTC+5:30, Steven D'Aprano wrote: On Sat, 05 May 2018 00:20:26 -0700, Sharan Basappa wrote: After this, when I type ipython on command prompt, I don't get anything on my windows. You don't get *anything*? Not even an

Re: ipython install

2018-05-05 Thread Sharan Basappa
On Saturday, 5 May 2018 15:39:32 UTC+5:30, Sharan Basappa wrote: > On Saturday, 5 May 2018 15:02:33 UTC+5:30, Steven D'Aprano wrote: > > On Sat, 05 May 2018 00:20:26 -0700, Sharan Basappa wrote: > > > > > After this, when I type ipython on command prompt, I don't get anything > > > on my windows

Re: ipython install

2018-05-05 Thread Sharan Basappa
On Saturday, 5 May 2018 15:02:33 UTC+5:30, Steven D'Aprano wrote: > On Sat, 05 May 2018 00:20:26 -0700, Sharan Basappa wrote: > > > After this, when I type ipython on command prompt, I don't get anything > > on my windows. > > You don't get *anything*? Not even an error? > > > > -- > Steve

Re: ipython install

2018-05-05 Thread Steven D'Aprano
On Sat, 05 May 2018 00:20:26 -0700, Sharan Basappa wrote: > After this, when I type ipython on command prompt, I don't get anything > on my windows. You don't get *anything*? Not even an error? -- Steve -- https://mail.python.org/mailman/listinfo/python-list

Re: iPython ? magic

2017-09-21 Thread Pavol Lisy
On 9/21/17, Steve D'Aprano wrote: > In the iPython interactive interpreter, obj? prints information about the > given > object. For example: > > > In [11]: None? > Type: NoneType > Base Class: > String Form:None > Namespace: Python builtin > Docstring: > > > Does anyone know that the Nam

Re: IPython Notebooks to Learn Python

2015-10-09 Thread Rémi Rampin
2015-10-08 13:49 EDT, Rajath Kumar : > I have written IPython Notebooks to learn Python interactively. I have > covered all the basic concepts and it is everything one needs to get > started with the language. > > Do check it out : https://github.com/rajathkumarmp/Python-Lectures > I only went ov

Re: iPython 3 released

2015-03-01 Thread Fabien
On 01.03.2015 19:24, Mark Lawrence wrote: This seemed to be a low key affair, at least from my perspective True, no messages yet on the scientific python mailing lists either. I am wondering if avoiding a massive switch to a *.0 release was the reason for this (relative) silence. Fabien -

Re: ipython

2014-02-15 Thread greymausg
On 2014-02-15, greymausg wrote: > On 2014-02-15, Mark Lawrence wrote: >> On 15/02/2014 11:55, greymausg wrote: >>> using IPython, is there any way of recording the commands I have entered? >>> >> >> I believe ipython automatically stores the commands you enter. >> Searching for ipython+command+h

Re: ipython

2014-02-15 Thread Peter Otten
greymausg wrote: > using IPython, is there any way of recording the commands I have entered? Did you ever enter ? in ipython? In [1]: a = float(raw_input("a? ")) a? 1 In [2]: b = float(raw_input("b? ")) b? 2 In [3]: ab = a + b In [4]: c = ab*ab In [5]: print c 9.0 In [6]: In[1:3] Out[6]:

Re: ipython

2014-02-15 Thread greymausg
On 2014-02-15, Mark Lawrence wrote: > On 15/02/2014 11:55, greymausg wrote: >> using IPython, is there any way of recording the commands I have entered? >> > > I believe ipython automatically stores the commands you enter. > Searching for ipython+command+history should get you more detail than I

Re: ipython

2014-02-15 Thread Mark Lawrence
On 15/02/2014 11:55, greymausg wrote: using IPython, is there any way of recording the commands I have entered? I believe ipython automatically stores the commands you enter. Searching for ipython+command+history should get you more detail than I can offer :) -- My fellow Pythonistas, ask

Re: ipython

2013-07-09 Thread davide . dalmasso
I did not see the massage when installation finisched. Sorry! Many Thanks!!! > > The IPython installer actually mentions this when it finishes > > installing: > > > > "Distribute (setuptools) is required to create Start Menu items. > > Re-run this installer after installing distribute to g

Re: ipython

2013-07-08 Thread alex23
On 9/07/2013 12:44 AM, davide.dalma...@gmail.com wrote: Hi, I work with Python 3.3. I downloaded an IPython executable version from http://www.lfd.uci.edu/~gohlke/pythonlibs/ I installed it but no shortcut appears in my start menu. How can I launch it or alternatively is there some other free so

Re: ipython

2013-07-08 Thread Wanderer
On Monday, July 8, 2013 10:44:11 AM UTC-4, davide@gmail.com wrote: > Hi, I work with Python 3.3. > > I downloaded an IPython executable version from > http://www.lfd.uci.edu/~gohlke/pythonlibs/ > > I installed it but no shortcut appears in my start menu. > > How can I launch it or alternati

Re: ipython

2013-07-08 Thread Steven D'Aprano
On Mon, 08 Jul 2013 07:44:11 -0700, davide.dalmasso wrote: > Hi, I work with Python 3.3. > I downloaded an IPython executable version from > http://www.lfd.uci.edu/~gohlke/pythonlibs/ I installed it but no > shortcut appears in my start menu. How can I launch it or alternatively > is there some ot

Re: IPython in Emacs

2013-04-25 Thread rusi
On Apr 26, 3:18 am, Seb wrote: > > I don't understand what you're asking. I evaluate the script buffer > with `python-shell-send-buffer' and start IPython with `run-python'. There are two emacs python modes -- one which comes builtin with emacs -- python.el, one which (used to?) come with pytho

Re: IPython in Emacs

2013-04-25 Thread Seb
On Thu, 25 Apr 2013 06:54:33 -0700 (PDT), rusi wrote: > On Apr 25, 6:01 pm, Seb wrote: >> On Wed, 24 Apr 2013 21:38:04 -0700 (PDT), >> rusi wrote: >> > There were some ipython+emacs+windows bugs: >> >https://bugs.launchpad.net/ipython/+bug/290228 > Last I tried nearly >> 2 years, they were sti

Re: IPython in Emacs

2013-04-25 Thread rusi
On Apr 25, 6:01 pm, Seb wrote: > On Wed, 24 Apr 2013 21:38:04 -0700 (PDT), > > rusi wrote: > > There were some ipython+emacs+windows bugs: > >https://bugs.launchpad.net/ipython/+bug/290228 > > Last I tried nearly 2 years, they were still there > >http://groups.google.com/group/comp.lang.python/br

Re: IPython in Emacs

2013-04-25 Thread Seb
On Wed, 24 Apr 2013 21:38:04 -0700 (PDT), rusi wrote: > There were some ipython+emacs+windows bugs: > https://bugs.launchpad.net/ipython/+bug/290228 > Last I tried nearly 2 years, they were still there > http://groups.google.com/group/comp.lang.python/browse_thread/thread/36e757567f28368e On De

Re: IPython in Emacs

2013-04-24 Thread rusi
On Apr 25, 8:35 am, Seb wrote: > Hi, > > Please excuse the slightly off-topic query.  I'm learning Python, using > the IPython (0.13) shell, and wanted to run it from Emacs 24.  AFAICT, > python.el is the most actively developed library, and is included in > Emacs.  How do experienced Python progr

Re: IPython 0.13 is officially out!

2012-07-01 Thread rusi
On Jul 1, 9:03 pm, Dave Cook wrote: > On 2012-07-01, Virgil Stokes wrote: > > > I have tried to update 0.12 in Ubuntu 12.04 but as of now it can not find > > 0.13. > > Any suggestions on how to get it into Ubuntu 12.04 would be appreciated. > > Install pip and use it to upgrade ipython: > > sudo

Re: IPython 0.12 is out!

2011-12-20 Thread Wanderer
On Dec 19, 11:00 pm, alex23 wrote: > On Dec 20, 4:07 am, Wanderer wrote: > > > The windows installer didn't work but installing from the tar file > > did. But installing from the tar file doesn't install Ipython in the > > site-packages directory. It installs it wherever you untar the tar > > fil

Re: IPython 0.12 is out!

2011-12-19 Thread Fernando Perez
On Mon, 19 Dec 2011 20:00:03 -0800, alex23 wrote: > You read the installation instructions and did a 'python setup.py > install' as it states, yes? > > Installed that way for Python 2.7.2 under Win64 with no issues > whatsoever. Glad to hear that. Obviously since I announced it here I'll try to

Re: IPython 0.12 is out!

2011-12-19 Thread alex23
On Dec 20, 4:07 am, Wanderer wrote: > The windows installer didn't work but installing from the tar file > did. But installing from the tar file doesn't install Ipython in the > site-packages directory. It installs it wherever you untar the tar > file. I don't remember ever having to deal with thi

Re: IPython 0.12 is out!

2011-12-19 Thread becky_lewis
Thanks and congratulations! Installed via pip --upgrade and everything seems to be working just fine (python 2.7.0+ on Linux) I look forward to investigating all of the new features! Becky Lewis On Dec 19, 9:49 am, Fernando Perez wrote: > Hi all, > > on behalf of the IPython development team,

Re: IPython 0.12 is out!

2011-12-19 Thread Wanderer
On Dec 19, 12:12 pm, Wanderer wrote: > On Dec 19, 4:49 am, Fernando Perez wrote: > > > > > > > > > > > Hi all, > > > on behalf of the IPython development team, I'm thrilled to announce, after > > an intense 4 1/2 months of work, the official release of IPython 0.12. > > > This is a very important

Re: IPython 0.12 is out!

2011-12-19 Thread Wanderer
On Dec 19, 4:49 am, Fernando Perez wrote: > Hi all, > > on behalf of the IPython development team, I'm thrilled to announce, after > an intense 4 1/2 months of work, the official release of IPython 0.12. > > This is a very important release for IPython, for several reasons. First > and foremost, w

Re: ipython installed in virtualenv seems not to use virtualenv

2011-08-11 Thread Gelonida N
On 08/11/2011 12:28 PM, becky_lewis wrote: > Just to add ... > > I ran through creating a virtualenv in the same manner as you: > > > ipython is using the virtualenv when it can find them and the system > wide packages when they are not in the virtualenv. Hope that helps you > track down the pro

Re: ipython installed in virtualenv seems not to use virtualenv

2011-08-11 Thread becky_lewis
Just to add ... I ran through creating a virtualenv in the same manner as you: $ virtualenv SomeEnv $ source SomeEnv/bin/activate (SomeEnv)$ which pip /home/user/virtual/SomeEnv/bin/pip (SomeEnv)$ pip install ipython Requirement already satisfied (use --upgrade to upgrade): ipython in / usr/local

Re: ipython installed in virtualenv seems not to use virtualenv

2011-08-11 Thread Gelonida N
On 08/11/2011 11:39 AM, becky_lewis wrote: > Hi, > > are you doing a pip install from within your virtualenv (sourcing the > virtualenv and THEN installing ipython)? > Yes this is what I was doing. My default ipython without virtualenv is now: $ ipython -V 0.10 Within my virualenv it is now: $

Re: ipython installed in virtualenv seems not to use virtualenv

2011-08-11 Thread becky_lewis
Hi, are you doing a pip install from within your virtualenv (sourcing the virtualenv and THEN installing ipython)? Becky Lewis On Aug 11, 9:59 am, Gelonida N wrote: > Hi, > > Short version > == > I have a system with ipython installed by my Ubuntu distribution > I created a virtual

Re: ipython prompt does not appear in windows

2011-05-18 Thread rusi
On May 18, 3:31 am, "Ori L." wrote: > See here for a workaround:https://bugs.launchpad.net/ipython/+bug/290228 > > First result on Google for the query "ipython emacs windows", BTW. Thanks -- I did find that before asking. That link starts by recommending a small change (add -i flag) to ipython.

Re: ipython prompt does not appear in windows

2011-05-17 Thread Ori L.
See here for a workaround: https://bugs.launchpad.net/ipython/+bug/290228 First result on Google for the query "ipython emacs windows", BTW. On May 17, 3:00 am, rusi wrote: > If I use ipython under emacs on linux it works (at least basic REPL) > ie I can type an expression and I get a result fol

Re: ipython prompt does not appear in windows

2011-05-17 Thread Dan Stromberg
Try running ipython in a cmd.exe. If that works, it almost certainly means that the I/O is going directly to video RAM instead of through a disciplined API. On Tue, May 17, 2011 at 12:00 AM, rusi wrote: > If I use ipython under emacs on linux it works (at least basic REPL) > ie I can type an ex

Re: ipython: Multiple commands on the same line and newlines

2011-04-17 Thread Rajendra prasad Gottipati
Phil, there is one more way you can run all commands as in linux shell.. >>> import commands >>> s, o = commands.getstatusoutput('x=10;for i in $(seq $x); do echo $i ; done') >>> print o 1 2 3 4 5 6 7 8 9 10 >>> On Sun, Apr 17, 2011 at 11:40 AM, Phil Winder wrote: > On Apr 17, 1:11 pm, Andrea C

Re: ipython: Multiple commands on the same line and newlines

2011-04-17 Thread Alexander Kapps
On 17.04.2011 20:40, Phil Winder wrote: Ok, thanks all. It's a little disappointing, but I guess that you always have to work in a different way when you move to a new language. Andrea's %edit method is probably the best compromise, but this now means that I will have to learn all the (obscure) s

Re: ipython: Multiple commands on the same line and newlines

2011-04-17 Thread Phil Winder
On Apr 17, 1:11 pm, Andrea Crotti wrote: > Phil Winder writes: > > Yes, that does not produce an error, but it does not "work". Please > > refer to my first post. Try the first code, you will get a syntax > > error. Placing things on one line makes for easy history scrollback. > > In your version

Re: ipython: Multiple commands on the same line and newlines

2011-04-17 Thread Andrea Crotti
Phil Winder writes: > Yes, that does not produce an error, but it does not "work". Please > refer to my first post. Try the first code, you will get a syntax > error. Placing things on one line makes for easy history scrollback. > In your version you will have 2 lines of history for the x = 0 ter

Re: ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Phil Winder
On Apr 16, 5:29 pm, Andrea Crotti wrote: > Phil Winder writes: > > Hi, > > I'm having a go at using ipython as a command prompt for data > > analysis. Coming from Matlab, I'm used to typing multiple commands on > > the same line then using the up arrow to go through my history. > > How can I writ

Re: Ipython Ctypes conflict

2011-02-10 Thread Robert Kern
On 2/10/11 1:57 PM, Wanderer wrote: When I try to use program that uses ctypes to load a dll in Ipython. The IPython mailing list is over here: http://mail.scipy.org/mailman/listinfo/ipython-dev You can also report bugs here: https://github.com/ipython/ipython/issues -- Robert Kern "I

Re: ipython problem in opening a file

2010-07-09 Thread Youngung Jeong
Thanks a lot! Youngung On Fri, Jul 9, 2010 at 10:17 PM, Eli Bendersky wrote: > On Fri, Jul 9, 2010 at 16:07, Youngung Jeong > wrote: > > Thank you for your kindness. > > I found you're right. It's running in that folder. > > What should I do for making this work? > > Could you please tell me

Re: ipython problem in opening a file

2010-07-09 Thread Eli Bendersky
On Fri, Jul 9, 2010 at 16:07, Youngung Jeong wrote: > Thank you for your kindness. > I found you're right. It's running in that folder. > What should I do for making this work? > Could you please tell me a bit more... > > Youngung You can change the "current directory" ipython executes in, by eit

Re: ipython problem in opening a file

2010-07-09 Thread Eli Bendersky
> One of the many things I tried, is as below. > > * > > > f=open('od.txt','w') > --- > IOError                                   Traceback (most recent call > last) > > C:\Window

Re: ipython question

2010-05-19 Thread Terry Reedy
On 5/19/2010 4:14 PM, superpollo wrote: In [219]: %save tmp.py 218 File `tmp.py` exists. Overwrite (y/[N])? y The following commands were written to file `tmp.py`: def f(): return 42 In [220]: !cat tmp.py def f(): return 42 In [221]: %psource f No source found for f maybe i got it: In [230

Re: ipython question

2010-05-19 Thread Robert Kern
On 5/19/10 3:10 PM, superpollo wrote: Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list

Re: ipython question

2010-05-19 Thread superpollo
superpollo ha scritto: Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mai

Re: ipython question

2010-05-19 Thread superpollo
Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mail.scipy.org/mailman/list

Re: ipython question

2010-05-19 Thread Robert Kern
On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mail.scipy.org/mailman/listinfo/ipython-user The re

Re: Ipython(x,y) Won't Run

2010-03-27 Thread Robert Kern
On 2010-03-27 11:21 , Larry Kizer wrote: I uninstalled my previous version of Python and installed Python(x,y) ver 2.6.2.0 in Windows XP - Install seemed to work fine but when I try to run Ipython(x,y) I get the following error: python.exe has encountered a problem and needs to close. We are sor

Re: iPython help, Docstring [source file open failed]

2009-04-15 Thread P. Kaminski
On 15 Kwi, 03:27, alex23 wrote: > On Apr 15, 5:35 am, Przemyslaw Kaminski wrote: > > > You may want to try: > > import pydoc > > b = pydoc.render_doc(timedelta) > > print b > > Isn't this exactly the same output you get from typing 'help > (timedelta)' though? Well, from this: Lets say I want m

Re: iPython help, Docstring [source file open failed]

2009-04-14 Thread alex23
On Apr 15, 5:35 am, Przemyslaw Kaminski wrote: > You may want to try: > import pydoc > b = pydoc.render_doc(timedelta) > print b Isn't this exactly the same output you get from typing 'help (timedelta)' though? -- http://mail.python.org/mailman/listinfo/python-list

Re: iPython help, Docstring [source file open failed]

2009-04-14 Thread Przemyslaw Kaminski
Kegan wrote: > I use iPython installed from macport. When I am in the iPython shell, > I do the following: > > > In [8]: from datetime import timedelta > > In [9]: timedelta?? > Type: type > Base Class: > String Form: > Namespace: Interactive > File: /opt/local

Re: iPython 0.9.1 install under XP -- R6034

2009-03-24 Thread Esmail
Hello David, David Cournapeau wrote: If you need ipython quickly, I would simply try building the installer myself from sources - as ipython does not have dependency and is pure python, it should be straightfoward to do a > python setup.py bdist_wininst, Thanks for the suggestion, it seem

Re: iPython 0.9.1 install under XP -- R6034

2009-03-24 Thread David Cournapeau
On Tue, Mar 24, 2009 at 9:36 PM, Esmail wrote: > Hello all, > > I am having problems trying installing iPython under XP. > It works great under Linux and it would be great if I could > also use it when I have to be in Windows. > > XP Professional SP2 + SP3 (tried different systems), > iPython-0.9.

Re: ipython / vs \ in readline on MS Windows (and ipython help grepper)

2009-03-15 Thread Tim Roberts
Jason Scheirer wrote: > >Cygwin does not magically change the platform you are on, the fact >that you are on Windows is hard-coded into the Python.exe binary. Look >for references to os.path.sep in IPython. Windows does let you use >forward slashes as path separators, though, so I am not entirely

Re: ipython / vs \ in readline on MS Windows (and ipython help grepper)

2009-03-12 Thread Jason Scheirer
On Mar 10, 3:34 pm, bdb112 wrote: > Q1/ I run a standard python ditribution with ipython and readline > under cygwin.  The tab filename completion works fine in the OS (bash > shell) as expected, and tab filename completion at the ipython command > line works, but with MS style path separators (ba

Re: ipython / vs \ in readline on MS Windows (and ipython help grepper)

2009-03-11 Thread Tim Roberts
bdb112 wrote: > >Q1/ I run a standard python ditribution with ipython and readline >under cygwin. The tab filename completion works fine in the OS (bash >shell) as expected, and tab filename completion at the ipython command >line works, but with MS style path separators (backslash: run examples

Re: ipython / vs \ in readline on MS Windows (and ipython help grepper)

2009-03-10 Thread bdb112
More info: import readline ? readline c:\python25\lib\site-packages\ipython\rlineimpl.py $Id: Magic.py 1096 2006-01-28 20:08:02Z vivainio $ sys.platform 'win32' sys.getfilesystemencoding() 'mbcs' sys.winver '2.5' $more /usr/local/bin/ipython #!/bin/bash C:/Python25/python.exe "C:\Python25\

Re: Ipython - Do they have a separate mailing list or newsgroup?

2009-02-12 Thread David
Chris Jones wrote: > Just wondering if ipython is supported elsewhere. Indeed, indeed: IPython-user mailing list ipython-u...@scipy.org http://lists.ipython.scipy.org/mailman/listinfo/ipython-user David -- http://mail.python.org/mailman/listinfo/python-list

Re: Ipython - Do they have a separate mailing list or newsgroup?

2009-02-12 Thread David Cournapeau
On Fri, Feb 13, 2009 at 10:48 AM, Chris Jones wrote: > Just wondering if ipython is supported elsewhere. > The ipython mailing list is there: http://projects.scipy.org/mailman/listinfo/ipython-user David -- http://mail.python.org/mailman/listinfo/python-list

Re: ipython environment question

2007-05-08 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Shane Geiger wrote: > Run the script and then try to change the variable project_name from the > ipython prompt and then type create() > and the new value you assigned will *not* be used. I tried to use "def > create(project_name = project_name):" Even that didn't work.

Re: IPython 0.8.0 is out

2007-04-11 Thread Paddy
On Apr 11, 6:18 am, Fernando Perez <[EMAIL PROTECTED]> wrote: > Hi all, > > The IPython team is happy to release version 0.8.0, with a lot of new > enhancements, as well as many bug fixes. > > We hope you all enjoy it, and please report any problems as usual. > > WHAT is IPython? >

Re: ipython env

2007-04-05 Thread Fernando Perez
Larry Bates wrote: > Greg Donald wrote: >> Anyone know what's up with environment variables when using ipython? [...] > In Cpython you get this with: > > import os > os.environ['EDITOR'] Yup, same in ipython :) Just to clarify, env is just a convenience function in ipython that simply does thi

Re: ipython env

2007-04-05 Thread Larry Bates
Greg Donald wrote: > Anyone know what's up with environment variables when using ipython? > > When I type 'env' and hit return I get a dictionary full of useful > information (trimmed for brevity): > > In [1]: env > Out[1]: > {'EDITOR': '/usr/bin/vim', > [...] > '_': '/Library/Frameworks/Python.f

Re: ipython env

2007-04-05 Thread Greg Donald
On 4/5/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > NameError: name 'env' is not defined > > Try os.environ Thanks. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: ipython env

2007-04-05 Thread Gabriel Genellina
En Thu, 05 Apr 2007 18:48:27 -0300, Greg Donald <[EMAIL PROTECTED]> escribió: > Anyone know what's up with environment variables when using ipython? > > When I type 'env' and hit return I get a dictionary full of useful > information (trimmed for brevity): > But then when try to access the infor

Re: ipython shortcut to reload modules

2007-02-21 Thread Greenberg
[EMAIL PROTECTED] wrote: > Hey! > > I'm using ipython as my python shell and often run scripts with the > magic command %run: > > In [1]: %run script.py > > If modules are loaded within the script these are not reloaded when I > rerun the script. Hence, when I changed some of the modules loaded,

Re: IPython 0.7.3 upgrade notes

2006-12-20 Thread Ville Vainio
Ville Vainio wrote: > Something I forgot to emphasize in the announcement, knowing that not > everyone reads the release notes - if you are upgrading from a previous > version of IPython, you must either: > > - Delete your ~/ipython (or ~/_ipython) directory OR > - Run %upgrade once IPython starts

Re: IPython 0.7.3 upgrade notes

2006-12-20 Thread Ville Vainio
Ville Vainio wrote: > Something I forgot to emphasize in the announcement, knowing that not > everyone reads the release notes - if you are upgrading from a previous > version of IPython, you must either: > > - Delete your ~/ipython (or ~/_ipython) directory OR > - Run %upgrade once IPython starts

Re: iPython and doctest

2006-04-12 Thread Robert Kern
Michael Tobis wrote: > It appears that doctest does not work straightforwardly within iPython. > > I would like to be able to use doctest within a file conditionally, so > that I can develop it within ipython and test it otherwise. > > It would seem that this would work: > > Python 2.4.1 (#2, Ma

Re: IPython 0.7.1 is out.

2006-01-24 Thread [EMAIL PROTECTED]
Fernando Perez wrote: > IPython's homepage is at: > > http://ipython.scipy.org > > and downloads are at: > > http://ipython.scipy.org/dist And if you have easy_install ( install it by running http://peak.telecommunity.com/dist/ez_setup.py if you already haven't done it), you can just say: easy_i

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-16 Thread Thomas Heller
"Gary Bishop" <[EMAIL PROTECTED]> writes: > Fernando Perez <[EMAIL PROTECTED]> wrote: >> Claudio Grondi wrote: > >> > Considering what I found in the ipython mailing archives >> > and the fact, that after the fix with displaying colors on >> > bright backgrounds Gary had no time yet to get in touc

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-15 Thread Gary Bishop
Fernando Perez <[EMAIL PROTECTED]> wrote: > Claudio Grondi wrote: > > Considering what I found in the ipython mailing archives > > and the fact, that after the fix with displaying colors on > > bright backgrounds Gary had no time yet to get in touch > > with me about the code I have sent him, I su

Re: win32 readline maintenance (was Re: IPython - problem with...

2005-04-13 Thread Michele Simionato
Switching to the US keyboard did not help for me. -- http://mail.python.org/mailman/listinfo/python-list

win32 readline maintenance (was Re: IPython - problem with...

2005-04-12 Thread Ville Vainio
> "Fernando" == Fernando Perez <[EMAIL PROTECTED]> writes: Fernando> Bummer. I wonder, if the changes are minor and easy, Fernando> perhaps you (or someone else) could offer Gary to take Fernando> over maintenance of readline/win32? It sounds Someone on the ipython mailing list

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-12 Thread Fernando Perez
Michele Simionato wrote: > Me too :-( > I have already submitted my issues with the Italian keyboard > on WinXP with no great success. It works on Linux, but this > is not of a big help since my plan was to use ipython -p pysh on > Windows as a replacement of the shell :-( Bummer. I wonder, if t

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-12 Thread Michele Simionato
Me too :-( I have already submitted my issues with the Italian keyboard on WinXP with no great success. It works on Linux, but this is not of a big help since my plan was to use ipython -p pysh on Windows as a replacement of the shell :-( Michele Simionato -- http://mail.python.org/mai

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-12 Thread Fernando Perez
Claudio Grondi wrote: > Considering what I found in the ipython mailing archives > and the fact, that after the fix with displaying colors on > bright backgrounds Gary had no time yet to get in touch > with me about the code I have sent him, I suppose, that > there will be no new releases addressi

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-12 Thread Ville Vainio
> "Claudio" == Claudio Grondi <[EMAIL PROTECTED]> writes: Claudio> Considering what I found in the ipython mailing archives Claudio> and the fact, that after the fix with displaying colors Claudio> on bright backgrounds Gary had no time yet to get in Claudio> touch with me abou

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-12 Thread Claudio Grondi
Considering what I found in the ipython mailing archives and the fact, that after the fix with displaying colors on bright backgrounds Gary had no time yet to get in touch with me about the code I have sent him, I suppose, that there will be no new releases addressing this problem soon, right? Cla

Re: IPython - problem with using US international keyboard input scheme on W2K

2005-04-11 Thread Ville Vainio
> "Claudio" == Claudio Grondi <[EMAIL PROTECTED]> writes: Claudio> Is it already known, that after switching the keyboard Claudio> input scheme on German Windows 2000 to english USA Claudio> International IPython generates \x00" instead of " when Claudio> trying to input quotat

Re: IPython colors in windows

2005-02-06 Thread Fernando Perez
Claudio Grondi wrote: > Hi, > > I have just updated previously announced > and uploaded to > http://people.freenet.de/AiTI-IT/Python/Console.py > version > of Console.py because I was not satisfied with > it (it didn't support arbitrary ANSI escape > sequences for setting text colors ...) I'd s

Re: IPython colors in windows

2005-02-06 Thread Claudio Grondi
Hi, I have just updated previously announced and uploaded to http://people.freenet.de/AiTI-IT/Python/Console.py version of Console.py because I was not satisfied with it (it didn't support arbitrary ANSI escape sequences for setting text colors ...) Now the Console() class supports ANSI escape s

Re: IPython colors in windows

2005-02-06 Thread Fernando Perez
Claudio Grondi wrote: > It works for me as it is now, so probably it is better to wait for the > next release of IPython with a cleaner implementation of color > schemes before further efforts towards support for choosing > of background colors for each colorized text output in IPython > via exten

Re: IPython colors in windows

2005-02-06 Thread Claudio Grondi
Hi, I have done some more work on Console.py from the readline package version 1.12, adding support for background colors and testing of proper function of them (run the Console.py script to see coloured output). Added was also the possibility to set the default text/background colors for colored

Re: IPython colors in windows

2005-02-05 Thread Gary Bishop
On SourceForge you will find release 1.12 of my Python readline module. If you don't want to hack the colors, there is no reason to upgrade from 1.11 to 1.12. They *should* work the same. But if you'd like to hack the iPython colors this new version makes it possible. In your ipythonrc file add a

Re: IPython colors in windows

2005-02-05 Thread Gary Bishop
Claudio Grondi <[EMAIL PROTECTED]> wrote: > "Ashot" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > whoa, that was quick, looks like it works for me. Thanks a lot! > > It would be nice to be able to set the colors in the prefs file, although > > its possible to edit the pyC

Re: IPython colors in windows

2005-02-05 Thread Claudio Grondi
"Ashot" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > whoa, that was quick, looks like it works for me. Thanks a lot! > It would be nice to be able to set the colors in the prefs file, although > its possible to edit the pyColorize file as Claudio mentioned. To get the colour

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > whoa, that was quick, looks like it works for me. Thanks a lot! > It would be nice to be able to set the colors in the prefs file, although > its possible to edit the pyColorize file as Claudio mentioned. Yes, I haven't implemented user-definable color schemes. Not impossible, bu

Re: IPython colors in windows

2005-02-04 Thread Fernando Perez
Ashot wrote: > One more thing I was wondering about: why not highlight the source code in > the errors since you already have this functionality (with '??' command). > It would be nice to have it highlighed on the prompt as well, but I > imagine this may be more difficult.. I've been using IPython

Re: IPython colors in windows

2005-02-04 Thread Ashot
One more thing I was wondering about: why not highlight the source code in the errors since you already have this functionality (with '??' command). It would be nice to have it highlighed on the prompt as well, but I imagine this may be more difficult.. I've been using IPython for about a

Re: IPython colors in windows

2005-02-04 Thread Ashot
whoa, that was quick, looks like it works for me. Thanks a lot! It would be nice to be able to set the colors in the prefs file, although its possible to edit the pyColorize file as Claudio mentioned. .a On Fri, 04 Feb 2005 16:51:26 -0700, Fernando Perez <[EMAIL PROTECTED]> wrote: Fernando P

  1   2   >