olib/
ptypes.py", line 48, in from_str
return cls.from_tuple(struct.unpack(endian + cls._format_, s),
**kw)
error: unpack requires a string argument of length 8
> /Volumes/max/Sandbox/pyobjc_public/pyobjc/macholib/macholib/
ptypes.py(48)from_str()
-> return cls.from_tuple(stru
I recently built a Python64.framework & interpreter from the 2.6 sources
(using Ronald O's recently recommended build settings), and then build
PyObjC. Because I got an error running PyObjC's build script, (setup tries
to pull down an URL that's non-existent:
http://pypi.python.org/packages/2.6/s
If you're using Xcode, you just #include in your
source file, then add the Python framework to your project (in Xcode,
right click on your project file in the "Groups & Files" pane, select
"Add->Existing Frameworks..."). You might need to configure the build
rules to make sure the right v
Hi,
I'm working on a (mostly cocoa) application, and want to embed an
interactive interpreter into the app. I think I have that working, at least
in a Foundation-based test CLI app. (I'm sure it will be more difficult
outside of the terminal environment). However, how do I give the
interpreter a
Hi Group,
Perhaps this has been covered elsewhere, but I'm seeing problems in iPython
(0.8.2, 0.8.3 r2919) on OS X 10.5.1 when using the up arrow to do history
completion after multi-line input (a function def, for example).
Like this:
#define a silly function or any multi-line statement:
In [1]
add__
> i.__add__ i.__and__ i.__and__
> i.__class__ i.__class__ i.__class__
> i.__class__ i.__cmp__ i.__cmp__
> i.__coerce__i.__coerce__i.__delattr__
> i.__delattr__ i.__delattr__
Following along the whole rlcompleter/readline/editline thread, I noticed
today that when I do tab completion on a class, I get everything listed
twice.Happens in python and ipython.
Example:
>>> i = int(5)
>>> i
5
>>> i.__
Display all 121 possibilities? (y or n)
i.__abs__ i.__abs__
have Leopard running on
my system for a few more weeks so I can't help with this.
Can anyone play around to see if it is possible to detect which
readline is installed?
Thanks,
Brian
On 10/29/07, Michael Vanlandingham <[EMAIL PROTECTED]> wrote:
FWIW, this patch works for me. I'm
FWIW, this patch works for me. I'm on IPython 0.8.2.svn.r2841.
This was driving me nuts for some time -- after all, the _Ruby_ shell
(irb) had tab-completion in Leopard, so why shouldn't Python/
iPython? I hadn't found the time to figure out a solution, so hooray
for user communities. I s