473,396 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IPython Article on O'Reilly's ONLamp site

I've written an article on IPython which is now live on O'Reilly's
ONLamp site at
http://www.onlamp.com/pub/a/python/2...7/ipython.html. All
feedback is welcome. Regardless of what you may think of the article, I
hope it encourages everyone to at least try out IPython. IPython has
become an indispensible tool in my toolbox. I cannot say enough great
things about it.

Jeremy Jones

Jul 18 '05 #1
1 1692
>>>>> "Jeremy" == Jeremy Jones <za******@bellsouth.net> writes:

Jeremy> feedback is welcome. Regardless of what you may think of
Jeremy> the article, I hope it encourages everyone to at least try
Jeremy> out IPython. IPython has become an indispensible tool in
Jeremy> my toolbox. I cannot say enough great things about it.

I've said this before, but I'd just like to add that IPython (with the
pysh profile) makes a damn fine command prompt for Windows. The loss
of job control is not a problem there, because it never was there in
the first place.

Even if you never use the underlying Python functionality, you can
enjoy the Bash-like filename completion (the only way to fly - the
windows "4dos-style" completion doesn't cut it for me). I've never
really trusted Bash (from cygwin) in Windows, it has always felt very
alien. Just install ipython and the "unxutils" package, and windows
command prompt suddenly becomes usable.

What is essential for me (because I deal with complex source trees) is
the persistent "bookmark functionality" for directories (yes,
Fernando, this is a shameless plug ;-):

Lines starting w/ @POR078 are commands typed by the user.

------- ipython session -------------

@POR078[prj]|22> %bookmark?

Manage IPython's bookmark system.

%bookmark <name> - set bookmark to current dir
%bookmark <name> <dir> - set bookmark to <dir>
%bookmark -l - list all bookmarks
%bookmark -d <name> - remove bookmark
%bookmark -r - remove all bookmarks

You can later on access a bookmarked folder with:
%cd -b <name>
or simply '%cd <name>' if there is no directory called <name> AND
there is such a bookmark defined.

Your bookmarks persist through IPython sessions, but they are
associated with each profile.

@POR078[testrunner]|24> %bookmark tr
@POR078[testrunner]|25> cd /prj/SyncML/doc/
@POR078[doc]|26> %bookmark smldoc
@POR078[doc]|27> Exit

(IPython exits, I start a new session)

@POR078[environmentswitch]|1> cd tr
(bookmark:tr) -> C:\prj\testrunner
@POR078[testrunner]|3> cd smldoc
(bookmark:smldoc) -> C:\prj\SyncML\doc

Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Mark Lutz | last post by:
O'Reilly just posted an article I wrote, which describes the most common mistakes made by Python beginners. It's available at this direct link: ...
by: Yaroslav Bulatov | last post by:
> Hi, > > Equis Uno wrote: > > > I use meta-x shell to start a shell and then once I see a shell > > prompt I enter the python command and I get a well-behaved python > > shell inside of emacs....
by: Zhang Le | last post by:
Hello, I'm writing a little Tkinter application to retrieve news from various news websites such as http://news.bbc.co.uk/, and display them in a TK listbox. All I want are news title and url...
by: Dave Merrill | last post by:
Hi, I'm new to python, and ipython, but not to programming, having trouble getting ipython installed on windows 2000, python 233. Any help would be much appreciated; I'm sure I'm being some basic...
by: Paul McGuire | last post by:
I just published my first article on ONLamp, a beginner's walkthrough for pyparsing. Please check it out at http://www.onlamp.com/pub/a/python/2006/01/26/pyparsing.html, and be sure to post any...
by: Fernando Perez | last post by:
Hi all, The IPython team is happy to release version 0.7.2, 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. ...
by: Daniel Mark | last post by:
Hello all: I installed IPython on my XP machine today and find that my sys.path has been changed as follows:
by: Lou Pecora | last post by:
I installed the SciPy superpackage and have pylab, matplotlib, scipy, and numpy apparently running well. But I want to use matplotlib/pylab interactively. The instructions suggest doing this in...
by: Greg Donald | last post by:
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 : env Out:...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.