Re: Graphical interface for iPython


I would also like to see a graphical UI for iPython, and the lack of one is
part of the reason why I continue to use both Matlab and Python.  I imagine
that creating a UI comparable to the Matlab UI would entail a huge amount of
coding, but something much simpler that provides (1) a menu bar with the
familiar "File", "Edit", and "Help" pulldown menus, and (2) an optional
history window or sidebar, would be adequate for most of us.

Phillip M. Feldman

--

-- 
View this message in context: http://www.nabble.com/Graphical-interface-for-iPython-tp15797786p24276152.html
Sent from the IPython - User mailing list archive at Nabble.com.
Robin | 29 Jun 19:42

problem with history completion

Hi,

I'm not sure what it's called, but I really like the feature where you
type the first few letters of a command, and then up arrow to cycle
through the history only selects commands from the history that start
with those few letters.

Since I am working on a few projects at the moment I wanted to have
seperate command histories - so I copied my normal ipythonrc-scipy
file to ipythonrc-fd and start my new session with "ipython -pylab -p
fd"

However, I can't seem to get the history completion to work properly
in this profile, although I can see no difference between the files:

robin-mbp-3:.ipython robince$ ls
IPython_crash_report.txt ipy_profile_sh.pyc       ipythonrc-physics
db                       ipy_user_conf.py         ipythonrc-pysh
history                  ipy_user_conf.pyc        ipythonrc-scipy
history-fd               ipythonrc                ipythonrc-tutorial
history-scipy            ipythonrc-fd             security
history-sh               ipythonrc-math
ipy_profile_sh.py        ipythonrc-numeric
robin-mbp-3:.ipython robince$ diff ipythonrc-scipy ipythonrc-fd
robin-mbp-3:.ipython robince$

Does anyone have any idea why this isn't working?

Cheers

(Continue reading)

Gökhan SEVER | 29 Jun 18:25

Re: IPython tab-completion behaviour in Linux

On Mon, Jun 29, 2009 at 9:04 AM, Jeff Kaufman<jeff <at> alum.swarthmore.edu> wrote:
> G??khan SEVER wrote:
>>
>> See the examples below:
>>
>> [gsever <at> ccn ~]$ ipython
>>  Logging to /home/gsever/.ipython/2009-06-29.py
>>
>> Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
>> Type "copyright", "credits" or "license" for more information.
>>
>> IPython 0.10.bzr.r1174 -- An enhanced Interactive Python.
>> ...
>>
>> In [1]: "".
>> Display all 104 possibilities? (y or n)
>>
>> In [1]: "".s
>> .sage             .serverauth.5593  .subversion
>> .scribus          .ssh
>>
>> In [1]: [].
>> Display all 104 possibilities? (y or n)
>>
>> In [1]: [].sort()
>>
>> In [2]: [].sort?
>> Type:         list
>> Base Class:   <type 'list'>
>> String Form:  []
(Continue reading)

Gökhan SEVER | 29 Jun 07:41

IPython tab-completion behaviour in Linux

Hello,

I am wondering whether not getting attributes or models of some empty
objects in the right way is a pre-defined behaviour or not? For
example when I do "". and hit the tab instead of getting a list that
is associated with the string object I get a list of hidden files in
the current working directory. However in the []. case if I explicitly
write sort I can see that a list object has a sort method.

Is this an Ipython bug or could be fixed somehow?

See the examples below:

[gsever <at> ccn ~]$ ipython
 Logging to /home/gsever/.ipython/2009-06-29.py

Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
Type "copyright", "credits" or "license" for more information.

IPython 0.10.bzr.r1174 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: "".
Display all 104 possibilities? (y or n)

In [1]: "".s
.sage             .serverauth.5593  .subversion
(Continue reading)

kevin beckford | 28 Jun 17:49

changing ! escape to use /bin/zsh instead of /bin/sh

I'm a zsh user.  I like ipython, and I don't much care for /bin/sh.  Imagine my shock when I found that !rehash ( i added some new executables ) ran /bin/sh rehash ( does not exist for /bin/sh) .


How can I get the ! escape to give me /bin/zsh instead?

--
Kevin Beckford
Lead Developer,
Lazyweb Construction Company,
http://lazyweb.ca
kevin <at> lazyweb.ca
_______________________________________________
IPython-user mailing list
IPython-user <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Gael Varoquaux | 27 Jun 09:06
Favicon

SciPy abstract submission deadline extended

Greetings,

The conference committee is extending the deadline for abstract
submission for the Scipy conference 2009 one week. 

On Friday July 3th, at midnight Pacific, we will turn off the abstract
submission on the conference site. Up to then, you can modify the
already-submitted abstract, or submit new abstracts.

Submitting Papers
---------------------

The program features tutorials, contributed papers, lightning talks, and
bird-of-a-feather sessions. We are soliciting talks and accompanying
papers (either formal academic or magazine-style articles) that discuss
topics which center around scientific computing using Python. These
include applications, teaching, future development directions, and
research. A collection of peer-reviewed articles will be published as
part of the proceedings.

Proposals for talks are submitted as extended abstracts. There are two
categories of talks:

    Paper presentations

        These talks are 35 minutes in duration (including questions). A
one page abstract of no less than 500 words (excluding figures and
references) should give an outline of the final paper. Proceeding papers
are due two weeks after the conference, and may be in a formal academic
style, or in a more relaxed magazine-style format.

    Rapid presentations

        These talks are 10 minutes in duration. An abstract of between
300 and 700 words should describe the topic and motivate its relevance to
scientific computing.

In addition, there will be an open session for lightning talks during
which any attendee willing to do so is invited to do a
couple-of-minutes-long presentation.

If you wish to present a talk at the conference, please create an account
on the website (http://conference.scipy.org). You may then submit an
abstract by logging in, clicking on your profile and following the
"Submit an abstract" link.

Submission Guidelines

    * Submissions should be uploaded via the online form.
    * Submissions whose main purpose is to promote a commercial product
      or service will be refused.
    * All accepted proposals must be presented at the SciPy conference by
      at least one author.
    * Authors of an accepted proposal can provide a final paper for
      publication in the conference proceedings. Final papers are limited
      to 7 pages, including diagrams, figures, references, and
      appendices. The papers will be reviewed to help ensure the
      high-quality of the proceedings.

For further information, please visit the conference homepage:
http://conference.scipy.org.

The SciPy 2009 executive committee
-----------------------------------

 * Jarrod Millman, UC Berkeley, USA (Conference Chair)
 * Gaël Varoquaux, INRIA Saclay, France (Program Co-Chair)
 * Stéfan van der Walt, University of Stellenbosch, South Africa (Program Co-Chair)
 * Fernando Pérez, UC Berkeley, USA (Tutorial Chair)
Dennis Muhlestein | 26 Jun 20:35

Starting wx python apps

I would like to use ipython with a wx application.

If I start iPython with -wthread, then, in the shell, I load the script 
that loads my application, all seems to work properly.

If however, I try to have iPython start my application, iPython doesn't 
drop into the shell until after my script has been run.

 > ipython -wthread test.py

It appears the problem is that test.py is evaluated before the shell 
enters it's mainloop function.

Does anyone know a way to remedy this?

Preferably, I'd like to provide a script that launches my application, 
and if iPython is available, it also drops to an iPython console on the 
command line when the application is run.

Thanks
-Dennis
Yaroslav Bulatov | 25 Jun 22:45

Automatically starting IPython on exception

Is there a way to setup IPython to start on exception automatically? I followed recipe at http://code.activestate.com/recipes/65287/, but replaced pdb.pm call with ipshell(), with no luck.

In particular, the line of "IPython.Shell import IPShellEmbed"  causes an exception at the time of importing of sitecustomize.py, the stack trace has following entry in it

    from IPython import Debugger, PyColorize
  File "/var/lib/python-support/python2.5/IPython/Debugger.py", line 48, in <module>
    if '-pydb' in sys.argv:
AttributeError: 'module' object has no attribute 'argv'

_______________________________________________
IPython-user mailing list
IPython-user <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Thomas Robitaille | 20 Jun 17:10

ipy_profile_none ImportError

Hello,

I have tried building executables (on mac) of the attached script
(which starts an ipython prompt) using several different tools (such
as pyinstaller, py2app) and in all cases, the resulting executables
crash, with an ImportError on ipy_profile_none. The problem seems to
be that some of the modules that ipython imports are in a non-standard
location (in Extensions) and aren't copied over by py2app or
pyinstaller.

I was wondering whether anyone here has successfully build an
executable with an ipython prompt (such as that given by the attached
script), and if so, how you did it?

Thanks,

Thomas
Attachment (test_ipython.py): application/octet-stream, 189 bytes
_______________________________________________
IPython-user mailing list
IPython-user <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Gael Varoquaux | 19 Jun 16:00
Favicon

[ANN] SciPy 2009 conference opened up for registration

We are finally opening the registration for the SciPy 2009 conference. It
took us time, but the reason is that we made careful budget estimations
to bring the registration cost down.

We are very happy to announce that this year registration to the
conference will be only $150, sprints $100, and students get half price!
We made this effort because we hope it will open up the conference to
more people, especially students that often have to finance this trip
with little budget. As a consequence, however, catering at noon is not
included.

This does not mean that we are getting a reduced conference. Quite on the
contrary, this year we have two keynote speakers. And what speakers:
Peter Norvig and Jon Guyer! Peter Norvig is the director of research at
Google and Jon Guyer is a research scientist at NIST, in the
Thermodynamics and Kinetics Group, where he leads a fiPy, a finite
element project in Python.

The SciPy 2009 Conference
==========================

SciPy 2009, the 8th Python in Science conference
(http://conference.scipy.org), will be held from
August 18-23, 2009 at Caltech in Pasadena, CA, USA.

Each year SciPy attracts leading figures in research and scientific
software development with Python from a wide range of scientific and
engineering disciplines. The focus of the conference is both on
scientific libraries and tools developed with Python and on scientific or
engineering achievements using Python.

Call for Papers
================

We welcome contributions from the industry as well as the academic world.
Indeed, industrial research and development as well academic research
face the challenge of mastering IT tools for exploration, modeling and
analysis.

We look forward to hearing your recent breakthroughs using Python! Please
read the full call for papers
(http://conference.scipy.org/call_for_papers).

Important Dates
================

    * Friday, June 26: Abstracts Due
    * Saturday, July 4: Announce accepted talks, post schedule
    * Friday, July 10: Early Registration ends
    * Tuesday-Wednesday, August 18-19: Tutorials
    * Thursday-Friday, August 20-21: Conference
    * Saturday-Sunday, August 22-23: Sprints
    * Friday, September 4: Papers for proceedings due

The SciPy 2009 executive committee
-----------------------------------

 * Jarrod Millman, UC Berkeley, USA (Conference Chair)
 * Gaël Varoquaux, INRIA Saclay, France (Program Co-Chair)
 * Stéfan van der Walt, University of Stellenbosch, South Africa
 * (Program Co-Chair)
 * Fernando Pérez, UC Berkeley, USA (Tutorial Chair)
Allen Fowler | 15 Jun 19:46
Favicon

fwiw: warning on Ubuntu 9.04


Am getting a "DeprecationWarning: the sets module is deprecated" on Ubuntu 9.04

Full log attached below:

(ipytest)afo <at> ubuntu:~/ipytest$ easy_install ipython
Searching for ipython
Reading http://pypi.python.org/simple/ipython/
Reading http://ipython.scipy.org
Reading http://ipython.scipy.org/dist
Best match: ipython 0.9.1
Downloading http://ipython.scipy.org/dist/ipython-0.9.1.tar.gz
Processing ipython-0.9.1.tar.gz
Running ipython-0.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dDTwm0/ipython-0.9.1/egg-dist-tmp-w5Hv1p
/tmp/easy_install-dDTwm0/ipython-0.9.1/IPython/Magic.py:38: DeprecationWarning: the sets
module is deprecated
  from sets import Set
Adding ipython 0.9.1 to easy-install.pth file
Installing iptest script to /home/afo/ipytest/bin
Installing ipythonx script to /home/afo/ipytest/bin
Installing ipcluster script to /home/afo/ipytest/bin
Installing ipython script to /home/afo/ipytest/bin
Installing pycolor script to /home/afo/ipytest/bin
Installing ipcontroller script to /home/afo/ipytest/bin
Installing ipengine script to /home/afo/ipytest/bin

Installed /home/afo/ipytest/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg
Processing dependencies for ipython
Finished processing dependencies for ipython
(ipytest)afo <at> ubuntu:~/ipytest$ ipython
/home/afo/ipytest/lib/python2.6/site-packages/ipython-0.9.1-py2.6.egg/IPython/Magic.py:38:
DeprecationWarning: the sets module is deprecated
  from sets import Set
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: 

Gmane