appears ahead of my
other locations:
% type -a python
python is /Library/Frameworks/Python.framework/Versions/2.7/bin/python
python is /Users/skip/local/bin/python
python is /usr/local/bin/python
python is /usr/bin/python
You almost certainly *don't* want it to replace /
hers more knowledgeable about Python-on-a-Mac will correct any
mistakes I've made.
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
ency in the naming, but traditionally the first micro
release of a series doesn't include the ".0".
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.pyt
Google? Searching for:
site:mail.python.org Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
to debug.
yielded just two hits.
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net
can't find a version of XCode which works with Mac OS X 10.5. All Apple will
show me on their dev site is XCode 3.2 which requires Snow Leopard. I can't
build a dang thing - no make or gcc for instance.
Any pointers appreciated.
Thanks,
Skip
-L suggests that the only dylib files
required are libgcc_s and libSystem, both in /usr/lib. Are you missing some
header files perhaps?
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
u
Testing a change to the footer. You can ignore.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
gt; while i < 3:
... print some_list[i], ";"
... i = i + 1
...
6 ;
2 ;
>>> print some_list[3]
5
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
America's vaunted "free press" notwithstanding, story ideas that expose
the
Mark> Having done this, how do I package things up to transfer them to
Mark> the iBook? What files need to be transferred?
If this is a one-time thing I would use brute force and tar up the entire
source directory and put it over on your g4.
> You're building a 2.7? what is that? I thought Python was going from 2.6 to
> 3.0.
Building from Subversion trunk identifies itself as 2.7a0. There will
be a number of
other 2.x versions released more-or-less in parallel with 3.y vers
(most recent call last):
File "/Users/skip/.python.py", line 21, in ?
from save_session import mark, save, load
File "/Users/skip/misc/python/save_session.py", line 21, in ?
raise ImportError("session save/restore requires readline module")
n. I configured like so:
../configure --enable-framework='/Users/skip/Applications' \
--enable-shared --prefix='/Users/skip/local' \
CPPFLAGS='-I/Users/skip/local/include -I/opt/local/include' \
LDFLAGS='-L/U
I have a trivial little script:
#!/usr/bin/env python
import os
import sys
os.execl("/Users/skip/local/bin/gnuclient", *sys.argv[1:])
which I want to convert to a .app bundle. I downloaded and installed py2app
using easy_install, successfully ran py2applet to
uple years ago:
http://wiki.python.org/moin/FrontPage?action=fullsearch&context=180&value=MacPython&titlesearch=Titles
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Can I easily control audio record/playback from Python on my Mac? I know
zip about audio recording or about Apple APIs via Python. Pointers to
simple examples would be much appreciated.
Thanks,
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG
tall target. All it does
beyond that is create a symlink called "python" and install the Python man
page.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
You can try running
make -n altinstall
and looking at the end of the output. You should see something like this:
for i in X ; do \
if test $i != X; then \
echo /usr/bin/install -c -m 555 $i
/Users/skip/local/lib/python2.5/lib-dynload/`basename $i`; \
/usr
ource. As you concluded, the correct one to use is the one which
corresponds to the Python executable you're using. I believe distutils uses
sys.exec_prefix and the version of the running Pyhon to get a base directory
for the installation. From there it's just a hop, skip and jump t
f", "latin-1")
u'\xef'
>>> unicode("\xef", "latin-1").encode("utf-8")
'\xc3\xaf'
>>> print unicode("\xef", "latin-1").encode("utf-8")
ï
--
Skip Montanaro - [EMAIL PROTECTED
Thanks Nicholas & Kevin for the hints about /Library and discovering the
PPC-ed-ness of files.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
n 31 00:40 HPServicesInterface.framework
drwxrwxr-x 7 root admin 238 Jan 31 00:40 HPSmartPrint.framework
drwxrwxrwx 6 skip staff 204 Feb 8 2005 HaskellSupport.framework
drwxr-xr-x 9 ellen wheel 306 Sep 6 2006 Mono.framework
drwxrwxr-x 5 root admin 170 Aug 4 2007 PluginManager
can build and run, are on Wikipedia:
http://en.wikipedia.org/wiki/Dhrystone
For the history of the pystone benchmark, UTSL:
http://svn.python.org/view/python/trunk/Lib/test/pystone.py
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@pytho
Jack> So: any other speculations as to why 2.66Ghz->3.0Ghz gives only a 1%
Jack> increase in pystones?
Maybe compilation flags.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/
I saw a reasonable speedup
(35461 -> 37313).
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
oesn't enter into things here. The pystones benchmark isn't
multithreaded so even if Python was free-threaded the pystones benchmark
wouldn't benefit from it.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.
; MacBook Pro 2.33Ghz/3GByte)
Thanks. Is that something available on the entire line of Core 2 Duo CPUs?
Is it something I can enable on my dual processor G5 or my G4 PowerBook? If
so, let me know and I'll add more rows.
Skip
___
Pythonmac-SIG
thon wiki:
http://wiki.python.org/moin/MacPython/MacModelPerformance
If you could help by adding some rows to the table, especially for current
MacBook, MacBook Pro or (in the near future, MacBook Air) models, I'd
appreciate it.
Thanks,
--
Skip Montanaro - [EMAIL PROTECTED] - http://www.webf
and my readline module is linked against that:
% otool -L ~/local/lib/python2.6/lib-dynload/readline.so
/Users/skip/local/lib/python2.6/lib-dynload/readline.so:
/opt/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0,
current version 5.2.0)
/opt/local/lib/libnc
Bill> The only use for the gestalt dependency is to check the version of
Bill> OS X.
Bill> I'd like to replace that with
...
Looks find to me. I say check it in and let people (or buildbots) complain
if something
How are all the extension modules in Mac/Modules generated? I'm trying to
remove PyArg_Parse() from the Python 3 C API. They use PyArg_Parse
extensively. If they were autogenerated I'd rather fix the generator
instead of editing each file by hand.
Tha
e creator is on the Mac for Python-based apps.
Thx,
Skip Montanaro
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Kevin> I was just looking at the new MacPython pages at the Python
Kevin> wiki--it appears nothing has been done with them since Skip moved
Kevin> them over. I'm thinking this is a terrific opportunity to bring
Kevin> them up to date: would anyone mind if I got s
Samuel> Anyone on this list installed the python based roundup issue
Samuel> tracker with framework python2.5?
Nope...
Samuel> How did you use --prefix or --install_scripts with setup.py?
Something like
python setup.py install --prefix=/alter/na/tive/
wiki had fallen into a bit of
disrepair, even if you ignore the spam problem, so a little general
TLC would probably help.
Skip
(*) Thank goodness for Emacs and Mozex...
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
cript to slurp the raw pages. Can you stick in a redirect
or rewrite on your web server that maps all URLs which contain "action=edit"
to a static page that says the wiki is frozen or is undergoing maintenance?
I'll slurp, clean and map URLs as necessary, then install the re
). Would that work for you?
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
r "spam" in the text of all pages. Many of the pages that are
returned should just be deleted.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Uche> shows the fixed version, but when I submit, it seems to be
Uche> re-submitting the spam version. Really strange. Leaves me
Uche> wondering what's the status of admin on the wiki.
I just set up a login. I don'
.0.0 (Apple Computer, Inc. build 5026)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>> readline.__file__
'/Users/skip/local/lib/python2.6/lib-dynload/rea
raries=sqlite3
Ronald> Why do you add /usr/include and /usr/lib to include_dirs and
Ronald> library_dirs?
I didn't add them. They were there by default. I believe I tried taking
them out leaving just /usr/local/* and the results were worse.
I'll go back and give it another try w
skip> I'm trying to get pysqlite 2.3.2 built on my Mac (OSX 10.4.8,
skip> gcc-4.0, Python 2.4.4c1)
...
skip> stdarg.h: No such file or directory/usr/include/stdarg.h:4:25:
skip> error: stdarg.h: No such file or directory
I updated setup.cfg to
ied reinstalling XCode 2 from the install disk, but I still don't see a
gcc 4.0 version of stdarg.h. /usr/bin/gcc is a symlink to /usr/bin/gcc-4.0.
Software Update says my machine is up-to-date.
I must be missing something, but what?
Thx,
Skip
Perry> I'm curious if anyone on this list has either a suggestion for
Perry> some Python based Wiki software or a pointer to a site that can
Perry> help me in my search.
MoinMoin? http://moinmoin.wikiwikiweb.de/
Skip
___
d to Python development, but if you send changes directly to
me I'll try and get to them within a few hours or a day.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Ronald> It is annoying that www.python.org/download/mac doesn't mention
Ronald> the universal installer.
It does now. It will take a few minutes for the global build process to
update the website, but I checked in a minimal change to Subver
recent changes to the site,
including a completely new tool chain used to build it, details about
updating various bits like NEWS have been lost by many.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Brendan> Python Documents: http://twototango.blogs.com/PythonDocument.icns
Brendan> Python Launcher: http://twototango.blogs.com/PythonLauncher.icns
Brendan> Idle: http://twototango.blogs.com/Idle.icns
Dumb question probably, but what reads/writes those fil
; you might have a leg to
stand on, but it's just "Python". Many people younger than 30 will not
understand the reference. Most people outside North America and Europe
won't know what it means either. I think you just have to accept that
snakes are going to be part of the package.
(potential) users and
Ronald> furthermore the snake-icon isn't actually used by MacPython
Ronald> (yet?).
I believe Bill has svn access now, so I'll leave that to him to decide.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@pyt
http://beta.python.org/download/mac/
still look wrong to you? It's got the python-squeezing-the-apple icon for
me. If that's not the case for you perhaps you just need to do a page
reload or empty your browser's cache (or your proxy server's cache).
Skip
__
o take care of that as well, just haven't had the chance. At
the moment I'm trying to get the pyramid stuff working. Tim Parkin is
helping me via the net. Once I've either gotten that taken care of (or
given up on it) I will update the content a
My little iCal event/todo manipulator is loose and available from my Python
Bits page:
http://orca.mojam.com/~skip/python/
It allows you to add or print iCal events and todos from the command line.
You can also feed appropriately formatted email messages to it and turn them
into todos or
It's there now...
Thanks,
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
didn't occur to me that it would be a bug in iCal. I
thought I was just doing something wrong (looking for the wrong property or
going about getting that bit of information the wrong way).
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
DESCRIPTION:This is a note for the todo...\nAnother line.
DUE;TZID=America/Chicago:20060221T00
END:VTODO
...
END:VCALENDAR
Any clue how I can fetch it via appscript?
Thx,
--
Skip Montanaro
http://www.musi-cal.com/
[EMAIL PROTECTED]
___
ned> 1. appscript supplies a help method for appscript objects.
has> You can also render terminology to HTML file using the htmldoc
has> module. Easiest way is via HTMLDictionary
Thanks for the excellent help. They are just what I need
larm to an event? Where can I find such information?
Thx,
--
Skip Montanaro
http://www.musi-cal.com/
[EMAIL PROTECTED]
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
>> Alas, explicitly specifying the long path didn't work either. It
>> bombs on import of appscript:
Robert> Try
Robert> #!/usr/bin/env /usr/bin/pythonw
Cool! Works like a charm. Thanks...
Skip
___
>>> #!/usr/bin/pythonw
Bob> Sounds like you're using OS X 10.3. It shipped with pythonw as a
Bob> shell script, not an executable.
skip> Yes, thanks. Shoulda thought to actually look at
skip> /usr/bin/pythonw...
Alas, explicitly specifying
>> #!/usr/bin/pythonw
Bob> Sounds like you're using OS X 10.3. It shipped with pythonw as a
Bob> shell script, not an executable.
Yes, thanks. Shoulda thought to actually look at /usr/bin/pythonw...
Skip
___
Pytho
t;/usr/bin/pythonw ical.py ..." it works just fine.
Am I missing something?
Thx,
--
Skip Montanaro
http://www.musi-cal.com/
[EMAIL PROTECTED]
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
t was written by Rich Salz several years ago. Python used
to work with it, but eventually started using some readline functionality
which libedit doesn't provide. I don't recall what that is.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python
apability of readline. I suggest
you just comment out the readline checks in setup.py.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
th no problems.
Another guy here at work has used Sybase on his Mac (built the Object Craft
module against the FreeTDS stuff). Pick your poison.
--
Skip Montanaro
Katrina Benefit Concerts: http://www.musi-cal.com/katrina
[EMAIL PROTECTED]
___
Pythonma
e
not even got a clue what "EA" means.)
--
Skip Montanaro
Katrina Benefit Concerts: http://www.musi-cal.com/katrina
[EMAIL PROTECTED]
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
m, or do I have to just reinstall
PySol and hope it goes away?
Thx,
--
Skip Montanaro
[EMAIL PROTECTED]
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
nning though, so it should be a reasonable option. There is a Carbon
patch for XEmacs (contributed by the same guy) that's available as a a
branch on the XEmacs CVS repository.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.p
Jack> I've got the following javascript snippet in a bookmark in
Jack> Safari's bookmark bar:
Jack>
javascript:void(location.href='http://tinyurl.com/create.php?url='+location.href)
Cool. Seems to work with Firefox as well (1.0.3 on Sola
st.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/lib-dynload
creating
build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/Frameworks
error: You must specify either app or plugin
I'd appreciate some tips on how to use it.
Thanks,
--
Skip Montan
ofile
ulimit -s 8192
Works for me at least.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
>> Thanks. I'll have to check to see if that will work for my laptop.
>> I have plenty of other stuff on my plate though, so this particular
>> issue has sort of moved to the back burner...
Bob> If it runs 10.2, it'll run 10.3. You'll probably notice better
Bob> performance,
for my laptop. I have
plenty of other stuff on my plate though, so this particular issue has sort
of moved to the back burner...
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
t;namespace" so that pythonmac.org/wiki/FAQ can
Bob> still url rewrite to the right place.
Let me check on the python.org maintainers list and get back to you
(off-list unless there are others that care about these minutiae).
Skip
__
the option to move would be available.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
ithout too much trouble. Take a look at
how that's managed for the python.org wiki:
http://www.python.org/moin/WikiSpam
That also includes a link to the main wiki page for that facility.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@p
mwh> I think bash appeared with 10.3. Or maybe 10.2.
It was clearly there in 10.2. That's my shell on my laptop.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
>> Not to mention gcc...
Bob> I said "... until you install Developer Tools". Mac OS X doesn't
Bob> ship stock with gcc.
Sorry, I missed that. In any case, even if gcc isn't distributed by
default, it's certainly used
mwh> I think there's a fair bit actually -- gnutar, bash, gnumake...
Not to mention gcc...
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
dy.
Where would an interested person find a log of release dates?
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
t
OS in quite awhile though. I suspect it has something to do with the fact
that iTunes represents a very lucrative revenue stream for Apple, while
Safari doesn't.
Skip
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
>> Am I missing something?
Charles> Umm . . . Software Update?
Software Update won't take me from 10.2 to 10.3. I'm as Software Updated as
I can be on my laptop, but it's still 10.2.
Skip
___
Pythonmac-SIG ma
is has happened to me in the past.) I
really hate to say this, but in this respect backward compatibility in
Windows seems to be much better. Am I missing something?
Thx,
--
Skip Montanaro
[EMAIL PROTECTED]
http://www.mojam.com/
___
Python
want to achieve.
That's more-or-less the scheme adopted where I work. If we have two
versions of a sybase module installed side-by-side, the imports might look
like:
import local.db.sybase.v1 as sybase
or
import local.db.sybase.v2 as sybase
It's a bit cumbersome, but it
paradoxical world of
has> software for you Oh well, maybe in Python 3000... ;)
Write a PEP and put it out for review. I don't recall seeing this raised in
the Python community before. I certainly don't think it's something the
core developers worry about, so maybe more
84 matches
Mail list logo