On Tue, 3 Jul 2007 10:19:07, Nathan Harmston
[EMAIL PROTECTED] wrote
i m in the UK and dont have the experience but hey 10 minutes of
programming python beats 12 hours of programming in Clipper-derived
unreadable drivel (you dont know how much I appreciate Python atm).
Clipper-derived
On Wed, 27 Jun 2007 01:45:44, Douglas Alan [EMAIL PROTECTED] wrote
A chaque son gout
I apologise for this irrelevant interruption to the conversation, but
this isn't the first time you've written that.
The word chaque is not a pronoun.
On Mon, 4 Jun 2007 21:34:36, David Stockwell wxp [EMAIL PROTECTED]
wrote
in DOS you can try this to see what your path is:
echo My path is %PATH%
or more simply:
,
| C: path
`
--
Doug Woodrow
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 4 Jun 2007 10:50:14, Peter Otten [EMAIL PROTECTED] wrote
This is fixed in Python2.5:
Hm, my test above was from 2.5!?
Then your installation is broken. What does
import itertools
itertools
module 'itertools' from
'/usr/local/lib/python2.5/lib-dynload/itertools.so'
print?
Maybe
On Thu, 31 May 2007 18:42:05, Warren Stringer [EMAIL PROTECTED] wrote
They were copied from working code. Copied *badly*? Yes. Running python via:
Windows - start - run - python
doesn't allow cut and paste
Hi Warren,
Actually you can copy and paste from a Windows cmd/command shell:
On Fri, 1 Jun 2007 07:23:16, Steve Holden [EMAIL PROTECTED] wrote
Actually you can copy and paste from a Windows cmd/command shell:
right-click the title-bar of the window, select Edit from the pop-up
menu, then Mark from the sub-menu to copy whatever you want to
select into the Windows
On Wed, 30 May 2007 23:23:22, Warren Stringer [EMAIL PROTECTED] wrote
def a(): return 'b'
def b(): print 'polly! wakey wakey'
c = {}
c['a'] = b
c[a()]() #works!
(typo correction for other easily-confused newbies like myself)
I think you mean
,
| c['a']() #works!
`
--
Doug Woodrow
On Thu, 31 May 2007 08:57:56, Douglas Woodrow
[EMAIL PROTECTED] wrote
On Wed, 30 May 2007 23:23:22, Warren Stringer [EMAIL PROTECTED] wrote
def a(): return 'b'
def b(): print 'polly! wakey wakey'
c = {}
c['a'] = b
c[a()]() #works!
(typo correction for other easily-confused newbies like myself
On Thu, 31 May 2007 07:49:22, Warren Stringer [EMAIL PROTECTED] wrote
def a(): return 'b'
def b(): print 'polly! wakey wakey'
c = {}
c['a'] = b
c[a()]() #works!
(typo correction for other easily-confused newbies like myself)
I think you mean
[...]
Hey Douglas,
Perhaps I was being
On Sat, 19 May 2007 21:42:27, Steve Holden [EMAIL PROTECTED] wrote
http://en.wikipedia.org/wiki/Doctest
Since you claim to be exercising your pedantry, I wonder why I get the
results I do. Since we *are* being pedantic, by the way, surely the
name is actually doctest, not Doctest.
Yes, as
On Fri, 18 May 2007 04:45:30, Dennis Lee Bieber [EMAIL PROTECTED]
wrote
On 17 May 2007 13:12:10 -0700, i3dmaster [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
'b' is generally useful on systems that don't treat binary and text
files differently. It will improve portability.
On Thu, 17 May 2007 00:30:23, i3dmaster [EMAIL PROTECTED] wrote
f = open(file,'rb')
for i in f:
exec i
Why are you opening the file in binary mode?
--
Doug Woodrow
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo