Re: Cheat sheet for the new string formatting?

2015-06-08 Thread Steven K Knight
, I think http://pyformat.info/ (http://pyformat.info/) is what you're looking for. Thanks, ​ -- Steven Knight -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread James Y Knight
On May 17, 2009, at 4:54 PM, Martin v. Löwis wrote: Currently, each feature release introduces a new name for the Python DLL on Windows, and may cause incompatibilities for extension modules on Unix. This PEP proposes to define a stable set of API functions which are guaranteed to be available f

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-23 Thread James Y Knight
On Apr 22, 2009, at 2:50 AM, Martin v. Löwis wrote: I'm proposing the following PEP for inclusion into Python 3.1. Please comment. +1. Even if some people still want a low-level bytes API, it's important that the easy case be easy. That is: the majority of Python applications should *just

Re: [Python-Dev] PEP 382: Namespace Packages

2009-04-15 Thread James Y Knight
On Apr 15, 2009, at 12:15 PM, M.-A. Lemburg wrote: The much more common use case is that of wanting to have a base package installation which optional add-ons that live in the same logical package namespace. The PEP provides a way to solve this use case by giving both developers and users

ANNOUNCE: SCons 0.98.1 (candidate for 1.0) is now available

2008-04-18 Thread Steven Knight
SCons is a software construction tool (build tool, or make tool) written in Python. It is based on the design which won the Software Carpentry build tool competition in August 2000. Version 0.98.1 of SCons has been released and is now available at the SCons download page: http://www.scon

ANNOUNCE: SCons 0.97 has been released

2007-05-29 Thread Steven Knight
Matthew Doar, Christopher Drexler, Bjorn Eriksson, Walter Franzini, Eric Frias, Gottfried Ganssauge, Dmitry Grigorenko, Helmut Grohne, Ralf W. Grosse-Kunstleve, David Gruener, Fawad Halim, Bob Halley, August Hörandl, Steven Johnson, Stephen Kennedy, Jay Kint, James Y. Knight, Ar

Re: book for a starter

2007-02-27 Thread Knight, Doug
Excellent choice. I used the 2nd edition for better than a year as a reference as I "came up to speed" on the language. Didn't know there was a 3rd edition out. Doug On Tue, 2007-02-27 at 11:08 -0800, Sriram wrote: > Hi, > > If you have experience programming, just read the online tutorial at >

Re: IP address

2007-01-28 Thread Garry Knight
Klaus Alexander Seistrup wrote: > urllib.urlopen("http://myip.dk/";) http://whatismyip.org gives it to you in a more usable format. But, as others have pointed out, it might return your router's IP. -- Garry Knight [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

RE: identifying 64-bit Windows from 2.3.5?

2005-06-09 Thread Steven Knight
Hi Ivan-- >> If I have installed 2.3.5 from the python.org Windows installer, can >> any one point me to a run-time way to identify whether I'm running on >> a 32-bit vs. 64-bit version of Windows XP, given that Python itself was >> built on/for a 32-bit system? > > I really don't think it matters

identifying 64-bit Windows from 2.3.5?

2005-06-08 Thread Steven Knight
If I have installed 2.3.5 from the python.org Windows installer, can any one point me to a run-time way to identify whether I'm running on a 32-bit vs. 64-bit version of Windows XP, given that Python itself was built on/for a 32-bit system? I hoped sys.getwindowsversion() was the answer, but it re

Re: SCons build tool speed

2005-02-13 Thread knight
Hi Peter-- > > How does the speed of the Scons build tool compare with > > Ant? Right now with out Ant builds take around an hour. Hoping > > to speed that up. > > Don't tools like Scons, Ant, and for that matter "make" just > execute other programs? So that 99% of the time is consumed > external

Re: SCons build tool speed

2005-02-13 Thread knight
Hi Neil, ted, et al.-- > > How does the speed of the Scons build tool compare with Ant? > > Right now with out Ant builds take around an hour. Hoping to > > speed that up. > > Scons emphasises accuracy over speed and is normally a little > slower than other build tools although still fast enough f