trolls.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
for a more portable version.
I guess I missed the beginning of this thread but can someone tell me
why one needs to download a whole other program in order to do this?
open(out_fn, 'w').write(open(in_fn).read())
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
On Tue, 14 Dec 2010 16:25:54 + (UTC)
Harishankar v.harishan...@gmail.com wrote:
On Tue, 14 Dec 2010 10:57:40 -0500, D'Arcy J.M. Cain wrote:
open(out_fn, 'w').write(open(in_fn).read())
Or what about shutil? Isn't that the higher level file operation module?
At least that's
out. So far it doesn't seem too bad.
Open minds are good.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman
as to the requirements. Any other details
would be good too.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo
On Mon, 29 Nov 2010 13:19:19 -0500
Mel mwil...@the-wire.com wrote:
tinauser wrote:
'''INSERT INTO foo VALUES (NULL, ?)'''
Does this work in SQLite:
INSERT INTO foo (name) VALUES ('xxx')
That's the standard SQL way.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
missed that. However reading the OP's message I am
still confused. How does removing the field name and adding a
positional NULL or None improve readability. I now wonder if it was
more of an assignment requirement rather than a real one.
--
D'Arcy J.M. Cain da...@druid.net
investigated Haskell
before choosing to focus on CL. That would make his opinion carry more
weight, not less.
Remind me, how is this relevant to Python?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1
.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
to find the problem. You may have to put in a bug
request with the New York Times. Good luck with that.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's
a new reference manual? How about just that one
section on operators that's missing from the tutorial.
Remember, Python is we, not they.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212
caret, not carrot.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
offering no solutions. Why would I since I don't see a problem?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org
On 05 Nov 2010 20:14:47 GMT
Seebs usenet-nos...@seebs.net wrote:
I can just see how well this attitude must work in other circumstances:
I guess this message ends the topic for me. Bye.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
the
same reason.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
that the breakage is somewhat friendlier
to some types of files is interesting but irrelevant. What would you
say to a file transfer program that changed Word documents? What about
executable files?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
On Thu, 4 Nov 2010 19:37:25 + (UTC)
Tim Harig user...@ilthio.net wrote:
On 2010-11-04, D'Arcy J.M. Cain da...@druid.net wrote:
You are the one who seems to be on a crusade against against braces. It
You totally misunderstand me. I am not on a crusade of any sort. I am
happy with Python
a matter of not knowing or caring how to change the
default. Mine says Sent from my brain.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner
. Failing that look for a forum dedicated to your email
client. There is nothing specific about Python in this regard.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082
would have got a more focussed
response. This applies to asking any questions here or elsewhere. The
more information you provide in your question, the more relevant the
responses will be.
By the way, I am seeing two copies of every message from you. How are
you posting?
--
D'Arcy J.M. Cain da
On 02 Nov 2010 17:58:06 GMT
Seebs usenet-nos...@seebs.net wrote:
On 2010-11-02, D'Arcy J.M. Cain da...@druid.net wrote:
No one
knows why email is being magically transformed?
Yay for a large company IT department with both MS and Blackberry
stuff involved.
Large is no excuse
is right. However, there is a use for such comments:
if foo:
bar
else:
baz
if snafu:
cookie
#endif snafu
quux
#endif foo
Useful in more complicated code, of course.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three
On Wed, 3 Nov 2010 00:41:46 + (UTC)
Tim Harig user...@ilthio.net wrote:
On 2010-11-02, D'Arcy J.M. Cain da...@druid.net wrote:
Actually, I have found similar markers to be useful everywhere. I don't
like the way my editor tries to fold Python code, so I started inserting
folding markers
to jump to the other end of a block.)
But I can see the other end of the block in Python. I don't need any
tricks to make sure that it is the end. And if your block is too big
to see the structure easily then that just means that some code should
be factored out to a method.
--
D'Arcy J.M. Cain
On Sat, 30 Oct 2010 19:16:10 +
brad...@hotmail.com wrote:
I was thinking of recommending this to a friend but what do you all think?
Of course! But then, what did you expect from this group. :-)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net
even see the problem
because it's hidden in a badly defined macro.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org
2.py prints correct value.
### 1.py ##
from subprocess import *
out = open('foo.t', 'w')
a = Popen('ls -l', shell = True, stdout = out)
If you drop the a = part it will work. If you need the object then
simply delete it (del a) when you are done with it.
--
D'Arcy J.M. Cain da
, there is always reportlab.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
article for a discussion of the word's
application to computer science.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http
answer you would for a given set of inputs.
Better yet, write the unit tests for us.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner
a few bits of SQL functionality, I'd call it perhaps a slightly
incomplete implementation rather than a nonstandard variant.
If you are looking for better wording I suggest ...an almost complete
implementation... instead. Sounds more positive.
--
D'Arcy J.M. Cain da...@druid.net
default and you can
use .pth files to have separate local libraries. Pkgsrc is designed to
run on all OSs including Linux distros.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD
In state 3, counter = %(counter)d % d
return state1
state = state1
while True:
state = state(data)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's
. for example, in my
sample code every state uses the counter but only two states use the
flag element.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner
On Sat, 04 Sep 2010 19:13:28 +0100
MRAB pyt...@mrabarnett.plus.com wrote:
I suppose that if they are that similar then you could generate the
code from a list or table of the states.
They generally aren't as simple as the little example script that I
cobbled together.
--
D'Arcy J.M. Cain da
is abridging the value. I need to
see all of the variables in the dictionary. Is there any way I can
wrap cgitb and get the behaviour I want or do I have to write my own
method for sys.excepthook?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
with the internals of modules imported by
a module. I'll give it a shot though.
import pydoc
def cram(text, maxlen):
return text
pydoc.cram = cram
Or...
import pydoc
pydoc.cram = lambda text,maxlen: text
Thanks.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
at a cost of very little code.
It seems unnecessary to me. Even if you can't figure it out through
simple inspection, it takes seconds to fire up Python and type print
'abc'[::-1] into it to see what that does. Then you have another tool
in your toolbox.
--
D'Arcy J.M. Cain da...@druid.net
On Fri, 27 Aug 2010 11:49:42 -0400
D'Arcy J.M. Cain da...@druid.net wrote:
is_palindrome = lambda x: x == x.lower()[::-1]
Oops. Simple and wrong.
is_palindrome = lambda x: x.lower() == x.lower()[::-1]
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
?
is_palindrome = lambda x: len(x) 0 and x == x.lower()[::-1]
Note that the above assumes that single characters are palindromes but
empty strings are not. I'm not 100% sure that that last is true. If
not then this can be simplified.
is_palindrome = lambda x: x == x.lower()[::-1]
--
D'Arcy J.M. Cain da
On Fri, 27 Aug 2010 12:02:39 -0400
D'Arcy J.M. Cain da...@druid.net wrote:
On Fri, 27 Aug 2010 11:49:42 -0400
D'Arcy J.M. Cain da...@druid.net wrote:
is_palindrome = lambda x: x == x.lower()[::-1]
Oops. Simple and wrong.
is_palindrome = lambda x: x.lower() == x.lower()[::-1]
slightly
():
... def __repr__(self):
... return hello
...
x = foo_class()
x
hello
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http
/except altogether and see what
the traceback says. That may explain your problem right off the bat.
If it doesn't then repost with the traceback.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416
format)
2010/9/1
2010 9 1
12/25/2010
25/12/2010
2010/12/25
It fails on the following.
sep 31 2010 (impossible)
2010/25/12 (impossible - Y/D/M never happens)
9/1/2010 (ambiguous - there is no consistiency when year is last field)
foo (not a date)
--
D'Arcy J.M. Cain da...@druid.net
On Wed, 18 Aug 2010 10:57:00 +0200
Jean-Michel Pichavant jeanmic...@sequans.com wrote:
D'Arcy J.M. Cain wrote:
You can extend this if there are complicated sub-calls. Probably
overkill for this example but here is the idea.
self.expiration_date = translate_date
(
find(
response,
'MPNExpirationDate',
).text,
'%Y-%m-%d',
'%m%d%Y'
)
I also moved the closing brace down to align with the line that opened
that block.
--
D'Arcy J.M. Cain da...@druid.net | Democracy
tried first. Some questions have been
asked and answered so many times that a search of the archives finds
what you want without waiting for an answer.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1
the solution is 2 pages of code. In Python it is 8 lines. Beautiful!
I guess the real entry level test here is that you have to be smart
enough to choose Python since it is the best language. You pass. :-)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
of time because I knew
that twenty people would jump in with the correct answer because of
finally, one that I can answer syndrome.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD
stopped reading your message and added you
to my blacklist. Goodbye.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http
On Tue, 10 Aug 2010 13:51:17 +0200
Jean-Michel Pichavant jeanmic...@sequans.com wrote:
Pardon the response to the response. I missed Ben's message.
Ben Finney wrote:
D'Arcy J.M. Cain da...@druid.net writes:
No. You are giving me math and logic but the subject was common
sense
dictates differently and there
might be confusion why the second element in a list has index 1.
Would said beginner also be surprised that a newborn baby is zero years
old or would it be more natural to call them a one year old? Zero
based counting is perfectly natural.
--
D'Arcy J.M. Cain da
, etc.)
would be the unnatural thing, would confuse Aunt Martha and make her
spoil her apple pie and no one wants that.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082
()
print time() - t, clock()
0.000596046447754 0.03
sleep(3)
print time() - t, clock()
3.03474903107 0.03
x = open(BIGFILE).read()
print time() - t, clock()
10.2008538246 1.42
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
on a list dedicated to
administrating email.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
officially supports 2.3 and up. That means that we can't
use from __future__. We might be able to bump that to 2.4 in the
next release but I wouldn't want to jump all the way to 2.6 in one
version release.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
could get
started on the transition sooner.
Or is there no change at the C level? That would make things easy.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP
certainly wouldn't say no to a faster Python :)
Ditto, ditto, ditto and ditto.
It's not like this is a race, and speed is not the only thing which a
language is judged by. Otherwise you'd be programming in C, not Python,
right?
Or assembler.
--
D'Arcy J.M. Cain da...@druid.net
On Sun, 4 Jul 2010 23:46:10 +0900
David Cournapeau courn...@gmail.com wrote:
On Sun, Jul 4, 2010 at 11:23 PM, D'Arcy J.M. Cain da...@druid.net wrote:
Which is 99% of the real-world applications if you factor out the code
already written in C or other compiled languages.
This may be true
On Sat, 3 Jul 2010 20:30:30 -0700 (PDT)
sturlamolden sturlamol...@yahoo.no wrote:
CPython 64.6
By the way, I assume that that's Python 2.x. I wonder how Python 3.1
would fare.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
below the 2.6
one. The page is generated from pkg_info(1) and includes everything we
have installed from FreeBSD ports.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082
On 03 Jul 2010 14:24:49 GMT
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
Pfft! Facts! You can prove anything you like with facts!
Argumentum ad Dragnet?
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy
isn't
very useful.
Well, it isn't useless.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo
On 2 Jul 2010 15:00:17 -0700
a...@pythoncraft.com (Aahz) wrote:
5. Get at least two major hosting services to put up Python 3.
webfaction.com has python3.1
So does http://www.Vex.Net/ so there's your two.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
...@websiteburo.invalid
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
miss you if you won't go away. :-)
As I explained, I don't block just because you are on gmail.com. I
only block if you use Google Groups to post via news.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting
in the procmail recipe I will be using, here it
is in all it's glory.
:0: Hir
* ^List-Id:.*python-list.python.org
* ^From:@gmail.com
* ^Newsgroups:
/dev/null
Cheers.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep
through the news gateway. People sending from
gmail.com directly to the mailing list don't get picked up. I'm pretty
sure that that defines everyone using Google Groups only. I am
definitely open to correction though.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
On Wed, 30 Jun 2010 17:25:55 -0400
geremy condra debat...@gmail.com wrote:
If you get this, you get the gmail-but-not-google-groups stuff.
Hello.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416
On Wed, 30 Jun 2010 14:18:55 -0700
Stephen Hansen me+list/pyt...@ixokai.io wrote:
Okay, un-Bye :)
Nice to be back. :-)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082
need to
capture the output and parse it.
Look at the subprocess module.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http
Really True
:-)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
signature after your response.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 26 Jun 2010 12:04:38 +0100
Nobody nob...@nowhere.com wrote:
Ask anyone with a surname like O'Neil, O'Connor, O'Leary, etc; they've
probably broken a lot of web apps *without even trying*.
At least it isn't a problem with the first name field. Oh, wait...
--
D'Arcy J.M. Cain da
Type help, copyright, credits or license for more information.
1.0/10**10
1e-10
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http
pseudocode.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
to read the file that you opened
in append mode?
By the way, your email address doesn't work. I get a relay access
denied message.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD
On Fri, 18 Jun 2010 17:22:00 -0400
D'Arcy J.M. Cain da...@druid.net wrote:
By the way, your email address doesn't work. I get a relay access
denied message.
Ignore that. It was a local problem that I fixed before sending but
forgot to remove this paragraph.
--
D'Arcy J.M. Cain da
it to do
the right thing virtually 100% of the time.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman
with a period should
be chucked. This ain't the seventies where people had to format their
input exactly as the computer demanded.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD
not on topic for this list.
I'm surprised that there is anyone left who hasn't killfiled this guy.
He/she hasn't made any effort to understand the group. Why bother even
answering him? Just filter him and enjoy the silence.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
On 09 Jun 2010 06:05:43 GMT
Steven D'Aprano steve-remove-t...@cybersource.com.au wrote:
I think the only way to end this pointless discussion is this:
Hitler would have loved Tkinter!
Sorry, Quirk's Exception to Godwin's Law says that you can't invoke
Godwin's Law on purpose.
--
D'Arcy J.M
On Wed, 9 Jun 2010 14:24:50 +0530
madhuri vio madhuri@gmail.com wrote:
sir i am wanted to know more in detail about expressions ..if u can give an
abstract idea...
Please read this before posting again.
http://www.catb.org/~esr/faqs/smart-questions.html
--
D'Arcy J.M. Cain da
On Wed, 9 Jun 2010 09:50:18 -0400
D'Arcy J.M. Cain da...@druid.net wrote:
On Wed, 9 Jun 2010 14:24:50 +0530
madhuri vio madhuri@gmail.com wrote:
sir i am wanted to know more in detail about expressions ..if u can give an
abstract idea...
Please read this before posting again.
http
: x+1
return [func(g, x) for x in args]
foo(map, [[4, 6, 3], [6, 3, 2], [1, 3, 5]])
foo = lambda x: [y + 1 for y in x]
[foo(x) for x in [[4, 6, 3], [6, 3, 2], [1, 3, 5]]]
Didn't seem like such a long walk.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http
the same answer and you didn't actually state the
problem I'm not sure how you can make that statement.
Show me the unit test that defines the problem.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1
of that is Google groups which I can easily filter
out.
By the way, what is the generic term for Usenet groups, mailing lists
and forums? They all have a common overall purpose and it seems as if
there should be a word.
Hey, we could all go back to FIDO-Net. :-)
--
D'Arcy J.M. Cain da...@druid.net
On Mon, 07 Jun 2010 10:16:19 +1000
Lie Ryan lie.1...@gmail.com wrote:
On 06/07/10 09:56, D'Arcy J.M. Cain wrote:
Show me the unit test that defines the problem.
that you must use foo() and you can't change foo() (since foo is very
complex), and you give the same result as the original
On Mon, 07 Jun 2010 11:02:21 +1000
Lie Ryan lie.1...@gmail.com wrote:
On 06/07/10 10:45, D'Arcy J.M. Cain wrote:
That's a great list of features. But they all apply to mailing lists as
well.
I think Ben Finney was making comparison between Usenet/Mailing-List vs
Forum. The argument
is pretty
close to infinite no matter how many people they reach.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org
. Linux is for the desktop.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
that you are running a decent *cough* PostgreSQL *cough*
database engine. Readable is good. If you have a problem with your
queries chances are that reorganizing your data or adding proper
indexes will do more for you than contorted SQL will.
--
D'Arcy J.M. Cain da...@druid.net
= dbf.Table('DogLovers')
petcount = dbf.Table('NumberOfPets')
I guess you should tell us what dbf is. It doesn't seem to be a
standard module and it doesn't look like DB-API. It's hard to answer
your question without knowing what these functions do.
--
D'Arcy J.M. Cain da...@druid.net
the regular expression module?
What is mpmath? It isn't in the standard distribution. My guess is
that it has an object called re that is overwriting the re module.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep
secret sauce, it wouldn't be difficult for me to do that.
Yes, in fact the only people inconvenienced are your paying clients.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082
On Thu, 20 May 2010 19:53:42 + (UTC)
Grant Edwards inva...@invalid.invalid wrote:
Since Python is interactive, and you don't get charged for each time
you run your deck through the reader, that's easy enough to check:
Whoa! For a moment there I thought it was 1969. :-)
--
D'Arcy J.M
to test
this. Another way that Python excels. However, I am pretty sure that
the above would compile.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP) | what's
in the right places. In
fact, they add indentation so that they can use the visual layout to
check the brace layout. Braces are the added step.
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
+1 416 425
101 - 200 of 477 matches
Mail list logo