Robert Kern wrote:
James asked a question in such a way that I didn't think it would get
answered. Judging from the other non-responses to his post, I was
right. I showed him the way to ask questions such that they *will* get
answered, and he came back, did so, and got his questions answered.
Robert Kern wrote:
Paul Rubin wrote:
Robert Kern [EMAIL PROTECTED] writes:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
It's the polite way. And probably the only way you're going to get
your questions actually answered.
I wonder if there's a
Steve Holden wrote:
Robert Kern wrote:
Coincidentally, those are exactly the reasons why I posted it in the
first place. I care not a whit about decluttering the newgroup, an
impossible task.
It's clear that you care not a whit about it. Unfortunately the only way
to preserve bandwidth on
for data in iter(lambda:f.read(1024), ''):
for c in data:
What are the meanings of Commands 'iter' and 'lambda', respectively? I
do not want you to indicate merely the related help pages. Just your
ituitive and short explanations would be enough since I'm really newbie
to Python.
-James
James wrote:
for data in iter(lambda:f.read(1024), ''):
for c in data:
What are the meanings of Commands 'iter' and 'lambda', respectively? I
do not want you to indicate merely the related help pages. Just your
ituitive and short explanations would be enough since I'm really newbie
to
Robert Kern wrote:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
Plus, my question was not for the detail description but for the
intuitive guide leading the beginner's further study.
I understand that too many repeated talks make cyberian tired.
James Kim wrote:
Robert Kern wrote:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
Of course it's not *necessary*. I mean, the world isn't going to come
to an end if it doesn't happen. There is no logical contingency making
it so.
James Kim wrote:
Robert Kern wrote:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
It's the polite way. And probably the only way you're going to get your
questions actually answered.
Read the documentation. If you still don't understand
Robert Kern [EMAIL PROTECTED] writes:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
It's the polite way. And probably the only way you're going to get
your questions actually answered.
I wonder if there's a way to killfile posts that contain
On 2005-08-20, James [EMAIL PROTECTED] wrote:
for data in iter(lambda:f.read(1024), ''):
for c in data:
What are the meanings of Commands 'iter' and 'lambda', respectively? I
do not want you to indicate merely the related help pages.
Rude much?
If somebody is kind enough to point out
Paul Rubin wrote:
Robert Kern [EMAIL PROTECTED] writes:
http://www.catb.org/~esr/faqs/smart-questions.html
Is it a *smart* way or *necessary* way?
It's the polite way. And probably the only way you're going to get
your questions actually answered.
I wonder if there's a way to killfile
On 19 Aug 2005 23:13:44 -0700, James [EMAIL PROTECTED] wrote:
for data in iter(lambda:f.read(1024), ''):
for c in data:
What are the meanings of Commands 'iter' and 'lambda', respectively? I
do not want you to indicate merely the related help pages. Just your
ituitive and short
Robert Kern 쓴 글:
Now go read the documentation.
Thanks to your comments, I read the corresponding helps searched by
Google. (Sorry to say a specific search engine here, but I must say that
it is really convinient.)
Now I realized that Command 'lambda' is a similar to Command 'inline' in
James Sungjin Kim [EMAIL PROTECTED] writes:
Now I realized that Command 'lambda' is a similar to Command 'inline'
in C++. In addition, Command 'iter' is something new but not much new
to c engineers, since it is related to 'for loops', e.g.,
Actually not related at all. Nothing like lambda or
On 18 Aug 2005 22:21:53 -0700
Greg McIntyre wrote:
f = open(blah.txt, r)
while True:
c = f.read(1)
if c == '': break # EOF
# ... work on c
Is some way to make this code more compact and simple? It's a bit
spaghetti.
This is what I would ideally like:
f =
15 matches
Mail list logo