Re: Python 3.4.4 Install

2016-01-11 Thread Colin W .
ase the disk is dying. > I am now trying o install the binary version, 64 bit, of Python 3.4.4 from Python.org. I get the message: Python 3.4.4 (64 bit) There is a problem with the Windows [10] Installer Package. A program required for this install to complete could not be run

Re: r"string" vs R"string

2010-01-18 Thread Colin W.
On 17-Jan-10 18:27 PM, Steven D'Aprano wrote: On Sun, 17 Jan 2010 11:13:48 -0500, Roy Smith wrote: In article, "Colin W." wrote: On 17-Jan-10 02:16 AM, Terry Reedy wrote: On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever between a raw string

Re: r"string" vs R"string

2010-01-17 Thread Colin W.
On 17-Jan-10 02:16 AM, Terry Reedy wrote: On 1/17/2010 1:55 AM, Brendan Miller wrote: Is there any difference whatsoever between a raw string beginning with the captical R or one with the lower case r e.g. r"string" vs R"string"? No. Nor is there and difference between the strings created with

Re: Seek support for new slice syntax PEP.

2009-12-19 Thread Colin W.
On 18-Dec-09 23:16 PM, Nobody wrote: On Fri, 18 Dec 2009 09:49:26 -0500, Colin W. wrote: You don't say, but seem to imply that the slice components include None. That's how missing components are implemented at the language level: > class foo: = def __geti

Re: Seek support for new slice syntax PEP.

2009-12-18 Thread Colin W.
licing now selects all items with index k such that i <= k < j where i and j are the specified lower and upper bounds. This may be an empty sequence. It is not an error if i or j lie outside the range of valid indexes (such items don’t exist so they aren’t selected). Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Seek support for new slice syntax PEP.

2009-12-18 Thread Colin W.
licing now selects all items with index k such that i <= k < j where i and j are the specified lower and upper bounds. This may be an empty sequence. It is not an error if i or j lie outside the range of valid indexes (such items don’t exist so they aren’t selected). Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Seek support for new slice syntax PEP.

2009-12-16 Thread Colin W.
that they're actually the same thing. Then the same notation could be used for both purposes. This would be good if the increment could also be handled. Terry Reedy suggested:- for i in [1:n]: ... Are the brackets really needed? Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Seek support for new slice syntax PEP.

2009-12-14 Thread Colin W.
slice() function. If your scheme flies, would it be practicable to use the same syntax as a range generator? range(i, j, k) => i:j:k so range(10, 2) => :10:2 i.e. we could write for i in :10:2: or the more common: range(10) => :10 Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Perl to Python conversion

2009-12-12 Thread Colin W.
them. Google: unit conversion python you'll have lots of offers. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: When will Python 3 be fully deployed

2009-12-06 Thread Colin W.
You'll have some answers here: http://jessenoller.com/2009/12/04/pythons-moratorium-lets-think-about-this/ 2.7 is now available. Work is going on numpy with Python 3.0 Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: semantics of ** (unexpected/inconsistent?)

2009-11-29 Thread Colin W.
g/reference/expressions.html#summary Parentheses permit the user to vary the precedence. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: a 100-line indentation-based preprocessor for HTML

2009-11-28 Thread Colin W.
td Right ...you get this: ... [snip] This is a neat idea but would a two character indentation not be enough? Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem combining Scientific (leastSquaresFit) and scipy (odeint)

2009-11-21 Thread Colin W.
tical functions known to the module FirstDerivatives". What is a good solution or workaround to this problem which appears to be quite a standard situation to me? Thanks for any help, harold. You might consider using numpy. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why 'import module' will not import module.py but the directory module?

2009-11-01 Thread Colin W.
a regular module and not the package, it wouldn't find module/part1.py . Doesn't it make sense to avoid the use of names like module or package, even though they are permitted. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQT4 user group

2009-10-29 Thread Colin W.
reads the messages. Colin W. -- http://mail.python.org/mailman/listinfo/python-list