distutils-sig and in various PEPs.
Nick Coughlan, the core developer leading the design effort, gives an
overview of the current plans here:
http://python-notes.boredomandlaziness.org/en/latest/pep_ideas/core_packa
ging_api.html
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
r elsewhere. Try
StackOverflow or one of the OS X lists.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
matically download and build all
required tools and then the docs themselves. See the details in the
Python Developer's Guide:
http://docs.python.org/devguide/documenting.html
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ython 3.3 (3.3.1 was just released, BTW). Otherwise, you could search
the pythonbrew issue list and open an issue there, if necessary. Or use
a python.org 3.3 along with PyPI readline. Or install ipython3.3,
Python 3.3, and GNU readline from MacPorts or Homebrew.
https://github.com/utaht
someone else suggested, you could
post the details of the pdb problem here. Note, there are already a
number of currently open issues with pdb reported on the bug tracker.
If you haven't already, you could search for "pdb" and see if your
problem has been reported. Thanks for
In article ,
Gregory Ewing wrote:
> Ned Deily wrote:
> > There is a meta tracker for problems with the Python
> > issuer tracker itself:
> > http://psf.upfronthosting.co.za/roundup/meta/
> > but you do have to register for that tracker (a separate registration).
a decent sized power of 2>)
Also on what OS X file system type does the file being created reside,
in particular, is it a network file system?
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
jpg
-rw-r--r--@ 1 nad staff 40359 Jul 15 2009 test.jpg
com.apple.FinderInfo32
com.apple.ResourceFork 899489
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Piotr Dobrogost wrote:
> On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
> > I just submitted a bug report on the pdb issue.
> It would be nice of you to share the link to this issue.
http://bugs.python.org/issue17697
--
Ned Deily,
gned to be a lightweight,
compatible library that runs on just about everything, and with a
fanatical devotion to compatibility and documentation. These days just
about every major product or operating system platform ships with or
uses a copy of sqllite3 for something.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article , Rotwang
wrote:
> (Sorry for linking to Google Groups. Does anyone know of a better c.l.p.
> web archive?)
http://dir.gmane.org/gmane.comp.python.general
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
or the four significant lines should be easy to
do manually.
Note that the build I made this way has not been tested on ppc64 and has
had minimal testing so far on x64_64.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
every system in /Library/Framework/
> so I found out that @executable_path is replaced by the path of the
> app.
Have you looked at py2app yet? It should take care of all that for you.
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
--
Ned Deily,
n...@acm.org
--
http://m
editing that file directly or by using the
easy_install -m option to mark the egg as multi-version before deleting.
In either case, keep in mind that the egg may have installed one or more
scripts; those have to be removed manually.
<http://peak.telecommunity.com/DevCenter/EasyInstall#uninstall
ed
2.5) that was built using the BSD editline library for readline. But
the 2.6 python.org python was built with GNU readline which uses a
different syntax.
s/"bind ^I rl_complete"/"tab: complete"/
<http://tiswww.case.edu/php/chet/readline/readline.html>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
atting-o
perations>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
s a non-standard reshaping of the idiom "one and the same", an
example of what linguists call an "eggcorn":
<http://eggcorns.lascribe.net/english/448/one-in-the-same/>
<http://eggcorns.lascribe.net/about/>
Note the reference to Python!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
achine; often there are many. Ignoring that fact can
lead to subtle bugs, like the one causing a urllib2 regression test
failure that I've been squashing today!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
efined behavior.
BTW, the order of the parameters to exec are reversed; presumably what
was intended is:
exec "i = i + 1" in globals(), locals()
That doesn't change the results in question, though, as is, after the
call to foo(0), i (=1) exists as a global.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
d lib/python2.5/idlelib
$ ls *.def
config-extensions.def config-highlight.def config-keys.def
config-main.def
$ cp -i *.def ~/.idlerc
$ cd ~/.idlerc
$ vi ...
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
le-clicking on the IDLE icon.
I don't have personal experience with EPD distribution but there should
be a command line binary of idle included. Try this from a Terminal
shell:
$ cd `python -c 'import sys; print sys.prefix'`
$ bin/idle
If you can change and save the preferences tha
In article ,
Robert Kern wrote:
> On 2009-01-27 13:40, Ned Deily wrote:
> > There is supposed to be a Preferences menu option for IDLE on OS X but,
> > depending on the Python version and how IDLE is launched, it may or may
> > not appear due to various bugs. (I'm w
If you are using the python Apple includes with OS X 10.5, you should be
able to launch it from a terminal shell with:
/usr/bin/python/../idle
There is also a separate discussion group for Python on Macs:
<http://dir.gmane.org/gmane.comp.python.apple>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
s for the 3.0.1 and
2.6.1 to the main download page, too:
<http://www.python.org/download/>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ou'll have to
> build it yourself - see <http://tinyurl.com/6zkem7>.
Follow up: Python 3.0.1 has been released and, with it, an installer
image for OS X:
<http://www.python.org/download/releases/3.0.1/>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
t; is still on 2.4 as a standard and barely preparing to move to 2.5 --
> we only use it on our macs installs.
<http://permalink.gmane.org/gmane.comp.python.apple/15546>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
7;ll probably find GDAL is there as expected.
If you do want to use the python.org python, which is somewhat newer,
you need to install its own version of setuptools/easy_install and use
it to install GDAL to the site-packages directory of that python which
is located here:
/Library/Frameworks/Python.fr
In article ,
Ned Deily wrote:
> It looks like you have installed GDAL to the site-packages directory of
> the Apple-supplied python 2.5 (which, for 10.5, is 2.5.1, not 2.4).
> That site-packages directory is /Library/Python/2.5. The Apple-supplied
> python comes with a sym link f
t; 2. the interaction with the gdal_merge.py error handling
No suggestions on the first two, other than to perhaps install
easy_install and GDAL and friends using the python.org 2.5 and/or to ask
in a more specialized forum.
> Otherwise, everything's peachy.
Good luck!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
d be very helpful if you could outline the steps to reproduce
this (in particular, how you launch IDLE) and open an issue on the
Python bug tracker: http://bugs.python.org/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
IW, the OS X build-installer.py script handles this by specifying a
DESTDIR on the make install steps rather than including a --prefix on
the configure. See Mac/BuildScript/build-installer.py.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ry launching IDLE again.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
on Python Design Patterns
(search YouTube for "google developer python alex"), and download the
notes at <http://www.aleax.it/goo_pydp.pdf>.
--
Ned Deily,
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
;>> test
> ['03.html', '06.html', 'questions.html', '04.html', 'toc.html',
> '01.html', '05.html', '07.html', '02.html', '08.html']
> >>> test[4]
> 'toc.html'
> >>> test[4].strip('.html')
> 'oc'
>
> Can't figure out what is going on, really.
>>> help("".strip)
>>> help("".endswith)
--
Ned Deily,
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ways of building a localized time. The
first is to use the .localize() method provided by the pytz library.
This is used to localize a naive datetime (datetime with no timezone
information). ... Unfortunately using the tzinfo argument of the
standard datetime constructors ''does not work'' with pytz for many
timezones."
--
Ned Deily,
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
e can be made to work by either specifying
pickle protocol 2 or by switching to cPickle.
--
Ned Deily,
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
iveState
> > recipe, or a little bigger, maybe a file or two.
> [...]
> After a look at the syntax you're proposing, I wonder how you feel it
> differs from ORMs like SQLAlchemy (for instance).
... and Elixir, a declarative layer on top of SQLAlchemy:
<http://elixir.emati
ot;copyright", "credits" or "license" for more information.
>>> from collections import defaultdict
>>> dic = defaultdict(lambda : defaultdict(int))
>>> dic["spam"]["eggs"] += 1
>>> dic[42][3] += 1
>>> dic[42][3] +
Python 3.0,
described in PEP 3132, comes to the rescue here:
>>> L = [(1, 2), (3, 4, 5), (6, 7)]
>>> for i in L:
... k, *u, v = i
... print(k, u, v)
...
1 [] 2
3 [4] 5
6 [] 7
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ition2 = False
>>> not condition1 and not condition2
True
>>> if condition1:
... condition2 = True
...
>>> condition1 = True
>>> not condition1 and not condition2
False
# -> while loop exits after 1 trip
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ibute processes and work via a distributed queue to a 'cluster' of
machines on a network, accessible via SSH".
<http://docs.python.org/library/multiprocessing.html>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
the old format gets an 'invalid token' parsing error.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
shellQuote(WORKDIR)[1:-1],
shellQuote(WORKDIR)[1:-1]))
@@ -1017,7 +1014,7 @@
parseOptions()
checkEnvironment()
-os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.3'
+os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.5'
if os.path.exists(WORKDIR):
shutil.rmtree(WORKDIR)
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
w, though it doesn't explain
> what the dict is for.
>
> Where would I find documentation on this nifty function?
Where built-in functions are documented, the Python Library Reference:
<http://www.python.org/doc/2.5.2/lib/built-in-funcs.html>
--
Ned Deily,
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
dle server process to
abort. Rename your random.py* and all should be well for both 2.5 and
2.6.
One could argue that IDLE.app should be smarter about situations like
this. It would be good to open an issue about this on the python
tracker:
http://bugs.python.org/
--
Ned Deily
n...@acm.org -- []
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ow using python3.0 from the shell
command line. You can use the above path to execute python; it might
help to create a shell alias for it. Or double-click on the Update
Shell Profile command in /Applications/Python 3.0 to cause python3.0 to
be added to your shell PATH and then just type py
In article
,
dkie...@gmail.com wrote:
> On Feb 23, 5:01 pm, Ned Deily wrote:
> > On Feb 23, 2009, at 14:03 , kevin hayes wrote:
> > > Ned, system log didn't do anything when I tried to open IDLE. However,
> > > this
> > > is what's i
original test works with it. If so, perhaps you don't need to
build your own? That install works on both Intel and PPC. One
difference: it is built with MACOX_DEPLOYMENT_TARGET=10.3, meaning it
will work on systems >= 10.3 but if you really need 10.5 only there
might be some side-ef
ple-supplied 2.5.x version. Multiple versions of
python can co-exist on OS X. See, for instance:
<http://permalink.gmane.org/gmane.comp.python.apple/15546>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
most certainly still have to patch
urllib.
You should open a tracker issue about this at http://bugs.python.org/.
And nice job documenting the problem!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
> 2) I often use a number of python extensions like matplot, pylab, and
> ipython. Will these (especially the graphics parts) be able to build on
> top of my 64-bit installation? Is there some way to find out if they will
> likely work without actually having to build them?
help:
<http://labix.org/python-dateutil>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ivalent in bash/tsch to
> show some of the equivalences. I am being impatient, I guess I need to
> dig into the language/library documentation a bit more on my own.
Perhaps the recipe for Pyline might give you some ideas on how to write
python scripts that play well with other scripts.
<
A number of vendors (Keyspan, Belkin) make USB serial ports. FWIW, I
use one here on this iMac and OS X with screen(1) and a null modem cable
to act as a serial console for a headless Linux box.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Grant Edwards wrote:
> On 2009-04-11, Ned Deily wrote:
> > In article <6lgdnsbypsl1fx3unz2dnuvz_uqdn...@pdx.net>,
> > Scott David Daniels wrote:
> >> This part I actually understand. The OP has a program named
> >> "RouteBuddy"
om the path names, I'll guess
this is on Solaris. If so, there seems to be a long history of problems
building select and friends. See, for example:
<http://mail.python.org/pipermail/python-list/2007-June/617030.html>
Someone with current Solaris experience may be able to help.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
W, that issue has recently been documented
and there is a patch for the build script to ensure that the 3rd party
Tcl/Tk is present during the installer build. I don't think it made it
into the 2.6.2 source tree, though.
<http://bugs.python.org/issue5651>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
version 8.4.19)
/usr/lib/libSystem.B.dylib [...]
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
"Russell E. Owen" wrote:
> In article ,
> Ned Deily wrote:
> > In article ,
> > Russell Owen wrote:
> > > I installed the Mac binary on my Intel 10.5.6 system and it works,
> > > except it still uses Apple's system Tcl/Tk 8.
hon.apple/15600
If you are still having problems, I suggest bringing the specific errors
to the pythonmac sig forum:
http://mail.python.org/mailman/listinfo/pythonmac-sig
or
http://dir.gmane.org/gmane.comp.python.apple
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
and >>> the python-prompt)
> you either do
> $ python
> >>> print "hello"
> or
> $ python mymodule.py
> to execute mymodule directly.
And from within OS X IDLE itself, if you create or open the file
mymodule.py, it will be in a separate window and
hould open with the contents
of that file. With that window selected (click on it, if necessary),
there should be a "Run" option in the Menu bar and under it will be a
"Run Script" option that will cause the script to run and the output to
appear in the shell window. You ca
Python 2.5 installation, using Distutils from that
installation should take care of everything for you. Is there a
setup.py file by any chance? Are you using a standard python
installation (i.e. python.org installer for instance)? More details
might help.
--
Ned Deily,
n...@acm.org
--
build python on OS X (google will find them or ask on the Mac
python sig) but, unless you have some special requirement, use an
existing python installation and build the ROOT Python module with that.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ere's more than one way to do it ;-)
python2.6 itertools introduces the izip_longest function and the grouper
recipe <http://docs.python.org/library/itertools.html>:
def grouper(n, iterable, fillvalue=None):
"grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx&qu
> install it as the default. The executable should be at
> /usr/local/bin/python3.0
By default, the 3.0.1 installer does not install any links in
/usr/local/bin. To do so, run or re-run the installer, click Customize,
and then select the "UNIX command-line tools" package. That creates
/usr/local/python3.0 and /usr/local/python links, among others.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
funny, on Linux, json
> WITH _json is still somewhat slower (~10%) than simplejson WITHOUT
> the _speedups module.
According to the svn history in 2.6, the json module was a copy of
simplejson 1.9. The current version of simplejson is 2.0.9 and,
according to its CHANGES.txt, there ha
discussed here just a few days ago:
<http://comments.gmane.org/gmane.comp.python.general/622763>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ionary's keys.
The second example is essentially shorthand for:
list({ "a": "b", "foo": "bar" }.iterkeys())
<http://docs.python.org/library/functions.html#list>
<http://docs.python.org/library/stdtypes.html#mapping-types-dict>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article , a...@pythoncraft.com (Aahz)
wrote:
> In article ,
> Ned Deily wrote:
> >The second example is a call to the built-in function "list", [...]
> Actually, list() is not a function:
> >>> list
>
> Rather, ``list`` is an object (specif
work. You can
safely delete those if you don't need them. But also make sure you
update to the latest 2.6 (currently 2.6.2) python.org version; as noted,
the original 2.6 python.org release had issues with user-installed Tcl
and Tk frameworks.
--
Ned Deily,
n...@acm.org
--
htt
g installers create links at
/usr/local/bin/python and /usr/local/bin/python2.6; use one of those
paths to get to the python.org 2.6 or ensure /usr/local/bin comes before
/usr/bin on your $PATH.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
//ivory.idyll.org/articles/nose-intro.html#running-doctests-in-nose
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
l round
> > trip correctly is what is used as the floating point repr
>
> Little question: what was the goal of such a change? (is there a pep for me
> to
> read?)
See discussion starting here:
http://article.gmane.org/gmane.comp.python.devel/103191/
--
Ned Deily,
n...
In article
,
trhaynes wrote:
> I'm trying to use py2app to package an OpenGL app [...]
You might try asking on the pythonmac-sig list: more py2app users there
most likely.
http://mail.python.org/mailman/listinfo/pythonmac-sig
[or]
http://dir.gmane.org/gmane.comp.python.apple
--
N
the path names, it appears you are using the MacPorts python2.5.
Try:
sudo port install py25-sqlite3
which will bring along sqlite3 if not already installed.
It should be that simple.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
gt;>
A quick web search shows that there were apparently some issues with
MacPort's py25-sqlite3 in the not too distant past. Perhaps your ports
need to be upgraded?
$ sudo port selfupdate
or
$ sudo port sync
$ sudo port upgrade installed
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article
<77e831100906041718k4b4f54d9v29729449c50f...@mail.gmail.com>,
Vincent Davis wrote:
> On Thu, Jun 4, 2009 at 1:41 PM, Ned Deily wrote:
>[...]
> > $ /opt/local/bin/python2.5
> > Python 2.5.4 (r254:67916, May 4 2009, 01:40:08)
> > [GCC 4.0.1 (Apple Inc. b
the other end of its stdout.
>
> Clues appreciated. Thanks.
$ python2.6 -c 'import sys; print sys.stdout.encoding, \
sys.stdout.isatty()'
UTF-8 True
$ python2.6 -c 'import sys; print sys.stdout.encoding, \
sys.stdout.isatty()' > foo ; cat foo
None False
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
aybe that's a source of confusion. There is only one generator
expression in your example.
>>> c = (lambda : i for i in range(11, 16))
>>> c
at 0x114e90>
>>> d = list(c)
>>> d
[ at 0x119348>, at 0x119390>,
at 0x1193d8>, at 0x119420>,
at 0x119468>]
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article <8763fbmk5a@benfinney.id.au>,
Ben Finney wrote:
> Ned Deily writes:
> > $ python2.6 -c 'import sys; print sys.stdout.encoding, \
> > sys.stdout.isatty()'
> > UTF-8 True
> > $ python2.6 -c 'import sys; print sys.stdout.encod
e of that, using a test for -0 as an easy, though not 100%
foolproof, test for a missing numeric value.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
nded iterable unpacking (http://www.python.org/dev/peps/pep-3132/)
is implemented in python 3.
$ python3
Python 3.1.1 (r311:74543, Aug 24 2009, 18:44:04)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more in
u haven't already, open a feature request issue on the Python bug
tracker (http://bugs.python.org/) and attach the code as a patch file.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
expected.
>
> This is OSX 10.6 2,, Python 3.1.1.
Are you sure you are actually using Python 3? /usr/bin/python is the
path to the Apple-supplied python 2.6.1. If you installed Python 3.1.1
using the python.org OS X installer, the path should be
/usr/local/bin/python3
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
risking incorrect
operation of other system programs that may depend on it plus it is
quite likely that an OS X software update will overwrite this location
breaking your applications. Use /usr/local/bin/python3.1 instead.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
;d
rather not do that, you can use MacPorts or Fink to build the necessary
libraries. Another approach that should work (but I haven't tested on
10.6) is to install the UnixImageIO and FreeType frameworks from here:
http://www.kyngchaos.com/software:frameworks
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
"now in
bugfix-only mode; no new features are being added". Per normal python
development policy, new features are added to the next major release
cycles, now under development: Python 2.7 and Python 3.2.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
list with one element.
>>> [x for x in xrange(10)]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Now *that's* a list comprehension.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Ned Deily wrote:
> In article
> ,
> Benjamin Kaplan wrote:
> > On Sat, Dec 12, 2009 at 7:15 PM, Tom Machinski
> > wrote:
> > > In most cases, `list(generator)` works as expected. Thus,
> > > `list()` is generally equivalent to `[ >
t; How about devoting a section on downloading the source files
> and compiling it on a Mac?
Why would you do that?
http://www.python.org/download/releases/3.1.1/
http://www.python.org/ftp/python/3.1.1/python-3.1.1.dmg
or (for MacPorts fans):
$ sudo port install python31
--
Ned Deily,
n..
ject is an open-source community initiative to design
an easy-to-use system for compiling, installing, and upgrading either
command-line, X11 or Aqua based open-source software on the Mac OS X
operating system."
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
stated there somewhere about which
operating systems are supported. For the record, 3.1.1 has been tested
on 10.4, 10.5, and 10.6 and should work on 10.3.9.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
to
launch the OS X IDLE. python.org installers put a double-clickable
IDLE.app in /Applications/Python n.x. There is also a command-line
"idlen.n" in /Library/Frameworks/Python.framework/Versions/n.n/bin
which, optionally, has a symlink from /usr/local/bin.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
select before importing wx and it will make sure that
> the correct version is imported. You might want to look up what they
> did.
Also, setuptools (and, its successor, distribute, which supports Python
3) allow the installation and management of multiple versions of a
package within one python site-library instance.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article <4b42b45e.9070...@hastings.org>,
Larry Hastings wrote:
> Ned Deily wrote:
> > Also, setuptools (and, its successor, distribute, which supports Python
> > 3) allow the installation and management of multiple versions of a
> > package within one python si
upplied Aqua (aka Quartz) Tk not the X11 one that MacPorts
builds by default. The MacPorts Tk port does have a "quartz" variant
but that doesn't yet work in 64-bit mode.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
Aug 24 2009, 18:44:04)
[GCC 4.0.1 (Apple Inc. build 5493)]
Testing gmpy 1.11 (GMP 4.3.1), default caching (100, 128)
...
1500 tests in 42 items.
1500 passed and 0 failed.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
;ll need to install a 64-bit version of the MySQLdb and
the MySQL client libraries for the Apple-supplied Python or modify the
Apache setup to either force 32-bit mode for the Apple-supplied Python
or use the other Python (from /usr/local/bin/python2.6 or wherever).
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article
<8647768b-944c-4025-8389-768a9cae5...@u41g2000yqe.googlegroups.com>,
stopchuckingstuff wrote:
> On Jan 17, 12:14 am, Ned Deily wrote:
> > In article
> > <0ba7faf8-f816-4100-ba5b-b138d3008...@c3g2000yqd.googlegroups.com>,
> > stopchuckingstuff wrot
301 - 400 of 505 matches
Mail list logo