I'm new to ipython, and i found it a very cool product.
$ ipython
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 0.7.3 -- An enhanced Interactive Python.
<snip>
In [8]: a = range(1000)
In [9]: a?
Type: list
Base Class: <type 'list'>
String Form: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 <...0, 981, 98
2, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996,
997, 998, 999]
Namespace: Interactive
Length: 1000
Docstring:
list() -new list
list(sequence) -new list initialized from sequence's items
*Please note that there is an extra "0" after "**26 <...>", which
doesn't appear for the followling cases:*
In [10]: b = range(100)
In [11]: b?
Type: list
Base Class: <type 'list'>
String Form: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 <..., 76, 77,
78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99]
<snip>
In [12]: c = range(10000)
In [13]: c?
Type: list
Base Class: <type 'list'>
String Form: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 <..., 9984, 99
85, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996,
9997, 9998, 9999]
<snip> 1 910
In <ma***************************************@python. org>, fd********@gmail.com wrote:
In [8]: a = range(1000)
In [9]: a?
Type: list
Base Class: <type 'list'>
String Form: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 <...0, 981, 98
2, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996,
997, 998, 999]
Namespace: Interactive
Length: 1000
Docstring:
list() -new list
list(sequence) -new list initialized from sequence's items
*Please note that there is an extra "0" after "**26 <...>", which
doesn't appear for the followling cases:*
This 0 is the last digit of `980`. If the string form is very long the
string itself is shortened by leaving out the middle part. It's
irrelevant which object it was before the conversion to a string.
Ciao,
Marc 'BlackJack' Rintsch This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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: 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: Jeremy Jones |
last post by:
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/2005/01/27/ipython.html. All
feedback is welcome. Regardless of what you may...
|
by: Michael Tobis |
last post by:
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...
|
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: James Stroud |
last post by:
Hello,
I found this page:
http://projects.scipy.org/ipython/ipython/wiki/CookBook#Usinggviminservermode
But it does not seem to work for me. I set the editor in ipythonrc to
gvim. Then I...
|
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: Ville Vainio |
last post by:
Hi all,
The IPython team is happy to release version 0.7.3, with a lot of new
enhancements, as well as many bug fixes (including full Python 2.5
support).
We hope you all enjoy it, and please...
|
by: Michele Simionato |
last post by:
This should probably go to the IPython list, but since I am not
subscribed I will try my luck here.
Basically, I want to embed IPython inside a command line interpreter
based on cmd.Cmd, in this...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |