"Carroll, Barry" <[EMAIL PROTECTED]> wrote
> "Real Numbers". The first sentence, "These are fractions" is
> technically incorrect, but incomplete.
Yep, I thought I'd changed that following a discussion
with Dick Moores about the same section.
> While it's true that fractions (i.e. rational
Carroll, Barry schreef:
> In "Learning to Program", look at "The Raw Materials", "Real
> Numbers". The first sentence, "These are fractions" is technically
> incorrect, but incomplete. While it's true that fractions (i.e.
> rational numbers) are real numbers, there are far more real numbers
> tha
Carroll, Barry schreef:
> Alan:
>
> This is arguably a minor detail, and not directly related to Python
> but, hey, I'm a programmer. Minor details are my stock in trade. So
> here goes.
>
> In "Learning to Program", look at "The Raw Materials", "Real
> Numbers". The first sentence, "These are
Alan:
This is arguably a minor detail, and not directly related to Python but, hey,
I'm a programmer. Minor details are my stock in trade. So here goes.
In "Learning to Program", look at "The Raw Materials", "Real Numbers". The
first sentence, "These are fractions" is technically incorrect
Thomas wrote:
> I have the following mostly working function to strip the first 4
> digit year out of some text. But a leading space confounds it for
> years starting 20..:
>
> import re
> def getyear(text):
> s = """(?:.*?(19\d\d)|(20\d\d).*?)"""
> p = re.compile(s,re.IGNORECASE|re.DOTALL
I have the following mostly working function to strip the first 4
digit year out of some text. But a leading space confounds it for
years starting 20..:
import re
def getyear(text):
s = """(?:.*?(19\d\d)|(20\d\d).*?)"""
p = re.compile(s,re.IGNORECASE|re.DOTALL) #|re.VERBOSE
y = p.match
Greetings:
I just thought I'd throw my own hat into the ring. I'm trying out my
new, asbestos-free, flame-retardant underwear. ;^)
> -Original Message-
> Date: Fri, 16 Feb 2007 08:14:29 -0500
> From: "Michael P. Reilly" <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Replying to the tutor-li
"Mark Bystry" <[EMAIL PROTECTED]> wrote
> I'll look for it. Perhaps I should pick up one of the "Dummies" book
> too.
I'm a big fan of Dummies books but not for concepts.
They are great if you want a flying start on a new language
or tool, but only if you already know the concepts.
For example,
Hi Kind people
I have been successful to write an ftp script that logs into a server and
collects files. What I would like to do but have no knowledge of is that I
would like to run multiple ftp sessions using one laptop with two different
connections. What I mean here is that you have a e
Oh, the irony...googling for python and gwt gave me:
http://pyjamas.pyworks.org/
On 2/16/07, Shadab Sayani <[EMAIL PROTECTED]> wrote:
Hi ,
We have a project where I need to read files store
them in database in the backend.We have done this in
python.Now we decided to use Ajax technique for u
Shadab Sayani wrote:
> Hi ,
> We have a project where I need to read files store
> them in database in the backend.We have done this in
> python.Now we decided to use Ajax technique for user
> interface.For that we found that GWT is one of the
> best toolkits.Now I got a doubt can I interface GWT
>
* Wolfram Kraus <[EMAIL PROTECTED]> [070216 15:23]:
> On 16.02.2007 08:01, xiufeng liu wrote:
> > Hi, all,
> >
> > In python if there is any similar way like in Java, or C++ to express
> > the following:
> > str = (a>b?"Yes":"NO")
> >
> >
> > thanks!
>
> In Python 2.5 you can do the following (
Hi ,
We have a project where I need to read files store
them in database in the backend.We have done this in
python.Now we decided to use Ajax technique for user
interface.For that we found that GWT is one of the
best toolkits.Now I got a doubt can I interface GWT
with python.
Thanks ,
Shadab.
Sen
Mark Bystry wrote:
> I'll look for it. Perhaps I should pick up one of the "Dummies" book too.
There is a "Python for Dummies"; it is very recent and written by a
respected member of the Python community. I haven't read it myself though.
Kent
___
Tuto
I'll look for it. Perhaps I should pick up one of the "Dummies" book too.
Mark
Kent Johnson wrote the following on 2/16/2007 8:35 AM:
> Mark Bystry wrote:
>> Well, I'm new here and for the most I haven't got a clue as to what I'm
>> doing, however, I thought
>> your website was a jewel. Most of
Tim Golden schreef:
> I would take minor issue -- with you, and with the creators
> of Thunderbird which is my current mail client of choice. It
> looks to me as though you're suggesting that the reply-all
> button is there to reply to a list, whereas it seems to me
> to be there to reply to all th
Michael P. Reilly wrote:
> Before 2.5, you could generally write:
>
> str = (a > b) and "Yes" or "No"
With a significant gotcha that you should definitely understand before
you use this. For example this will not work as expected:
s = (a > b) and "" or "No"
In [1]: s = True and "" or "No"
In [
On 2/16/07, Wolfram Kraus <[EMAIL PROTECTED]> wrote:
On 16.02.2007 08:01, xiufeng liu wrote:
> Hi, all,
>
> In python if there is any similar way like in Java, or C++ to express
> the following:
> str = (a>b?"Yes":"NO")
>
>
> thanks!
In Python 2.5 you can do the following (untested):
str = "Ye
Mark Bystry wrote:
> Well, I'm new here and for the most I haven't got a clue as to what I'm
> doing, however, I thought
> your website was a jewel. Most of it was over my head but sometime in the
> future I'm sure it will
> become a valuable resource for me. (btw, I'm heading to Borders tonigh
On 16.02.2007 08:01, xiufeng liu wrote:
> Hi, all,
>
> In python if there is any similar way like in Java, or C++ to express
> the following:
> str = (a>b?"Yes":"NO")
>
>
> thanks!
In Python 2.5 you can do the following (untested):
str = "Yes" if a>b else "No"
See: http://docs.python.org/what
On 2/16/07, ALAN GAULD <[EMAIL PROTECTED]> wrote:
> However, the "standard behavior" at the time was that
> replies went back to the mailing list, not to the original sender.
But the mailing list was the original sender so it was all wonderfully
consistent. Reply goes to sender only, which hap
Well, I'm new here and for the most I haven't got a clue as to what I'm doing,
however, I thought
your website was a jewel. Most of it was over my head but sometime in the
future I'm sure it will
become a valuable resource for me. (btw, I'm heading to Borders tonight with my
checkbook. Hoping
On 2/16/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
As to standard list behaviour, I don't know of any list thats been
around for more than say 10 years that uses Reply to send to All.
This seems to be a very recent thing. (And most of the lists I am
on have been around for much more than 10 years
Kent Johnson wrote:
> Tim Golden wrote:
>> field and [EMAIL PROTECTED] in cc: My problem there is that I usually
>> don't want to send the originating individual a private copy
>> of an email he/she is going to receive from the list in any
>> case, so I usually cut-and-paste around so that only the
Hi, all,
In python if there is any similar way like in Java, or C++ to express
the following:
str = (a>b?"Yes":"NO")
thanks!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Tim Golden wrote:
> field and [EMAIL PROTECTED] in cc: My problem there is that I usually
> don't want to send the originating individual a private copy
> of an email he/she is going to receive from the list in any
> case, so I usually cut-and-paste around so that only the list
> is in To: AFAIK, T
Tim Golden wrote:
> Alan Gauld wrote:
>> But its obvious there are two views at work here.
>
> (The one which sees an apostrophe in "it's" and the
> one which doesn't? ;)
>
> But, joking aside, I think you've summarised the situation
> quite well, and I suspect that -- given the what must be
> th
Alan Gauld wrote:
> But its obvious there are two views at work here.
(The one which sees an apostrophe in "it's" and the
one which doesn't? ;)
But, joking aside, I think you've summarised the situation
quite well, and I suspect that -- given the what must be
thousands of mailing lists and newsgr
"Luke Paireepinart" <[EMAIL PROTECTED]> wrote
> It's not the inconvenience but the fact that it's nonstandard, as
> far as
> every mailing list i've been on except this.
It is interesting to see this thread because its a hot button of mine
that many new mailing lists implement this non standard
Hi Alan,
Firstly thank you for the tutorials I have used your book and website to
great affect.
I use the download on the train when I am travelling.
I have a question though.
Do you update the web page downloads every time you update the site?
I want to download a new copy and was hoping to
"Alan Gauld" <[EMAIL PROTECTED]> wrote in
> After a very long delay I finally got some work done on
> my networking with sockets topic in my tutorial. There is
> still a section to complete but the introductory explanations
> and examples are now on the site.
>
> http://www.freenetpages.co.uk
31 matches
Mail list logo