James Stroud wrote:
> You see the difficulty don't you? How will the computer know in advance
> that the regex matches only a finite set of possible strings?
Well sure it might be a little difficult to figure _that_ out, although
probably not all that hard if you converted to an FSA or something.
Another quick question about python and palm?
As we all have known that ACCESS has planned to build Palm OS on top of
Linux, is there any plan to port python to THIS future PALM OS?
Regards,
Phipps
--
http://mail.python.org/mailman/listinfo/python-list
Michele Petrazzo wrote:
> [EMAIL PROTECTED] wrote:
> > Michele Petrazzo wrote:
> >> I haven't tried to recompile py 2.4 myself with gcc 4.1 because it
> >> is already compiled with it (4.0.3), so I think (only think) that
> >> is a py 2.5 problem. I'm right? or I have to compile it with
> >> someth
Hi there,
Perhaps someone can help me. For some reason, when my Python script
runs and loads an HTML page in a new browser window at the local host
(desktop), the links to my stylesheet and all the images are broken. I
did check the HTML file by itself...everything loaded fine ;)
Here's my script
Cameron Laird <[EMAIL PROTECTED]> wrote:
...
> On this one isolated matter, though, I'm confused, Alex: I sure
> think *I* have been writing DSLs as specializations of Python,
> and NOT as "a language in its own right". Have I been fooling
> myself, or are you making the point that Lisp-based
Joe Marshall <[EMAIL PROTECTED]> wrote:
...
> Doesn't Google also employ such people as the inventor of Limbo
> programming language, one of the inventors of Dylan, and a Smalltalk
> expert?
...not to mention Lisp gurus (such as Peter Norvig), C++ gurus (such as
Matt Austern) and Java ones (suc
Patrick May <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Alex Martelli) writes:
> > ...an alleged reply to me, which in fact quotes (and responds to)
> > only to statements by Brian, without mentioning Brian...
> >
> > Mr May, it seems that you're badly confused regarding Usenet's
> > quoting c
Alex Martelli wrote:
> Joe Marshall <[EMAIL PROTECTED]> wrote:
>...
>> If you language allows unnamed integers, unnamed strings, unnamed
>> characters, unnamed arrays or aggregates, unnamed floats, unnamed
>> expressions, unnamed statements, unnamed argument lists, etc. why
>> *require* a name
Hi there,
Perhaps someone can help me. For some reason, when my Python script
runs and loads an HTML page in a new browser window at the local host
(desktop), the links to my stylesheet and all the images are broken. I
did check the HTML file by itself...everything loaded fine ;)
Here's my script
Hi there,
Perhaps someone can help me. For some reason, when my Python script
runs and loads an HTML page in a new browser window at the local host
(desktop), the links to my stylesheet and all the images are broken. I
did check the HTML file by itself...everything loaded fine ;)
Here's my script
In article <[EMAIL PROTECTED]>,
James Stroud <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > James Stroud wrote:
> >
> >>You mean like re.compile(r'.*') ?
> >
> >
> > No. I mean like:
> >
> regex = re.compile(r'a|b')
> regex.enumerate()
> >
> > a
> > b
>
> You see the dif
Your message with Subject:
could not be delivered to the following recipients:
[EMAIL PROTECTED]
Please do not resend your original message.
Delivery attempts will continue to be made for 5 day(s).
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
Perhaps someone can help me. For some reason, when my Python script runs
and loads an HTML page in a new browser window at the local host
(desktop), the links to my stylesheet and all the images are broken. I
did check the HTML file by itself...everything loaded fine ;)
Here's my scr
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On Sun, 07 May 2006 00:09:06 GMT, Tim Roberts <[EMAIL PROTECTED]> declaimed
>the following in comp.lang.python:
>
>> [EMAIL PROTECTED] wrote:
>>
>> >6) Would it be correct to infer that the print statement is aware of
>> >characters beyond the 128 cha
I posted more than once by mistake...I was trying to configure Thunderbird.
--
http://mail.python.org/mailman/listinfo/python-list
Michael J. Fromberger wrote:
> > You see the difficulty don't you? How will the computer know in advance
> > that the regex matches only a finite set of possible strings?
>
> You don't. Hence, you want something that behaves like a generator, and
> will produce the strings one at a time. Preferab
M Jared Finder <[EMAIL PROTECTED]> wrote:
...
> Any time you want an anonymous function (or class, or type, or number)
> it would be because that thing is sufficiently small and simple that the
> best name for it is the code itself. In one game I worked on, there was
That's not what I see happ
Hi,
Is it possible to import data from Excel for doing numerical analysis in
Python? If so how? Thank u!
--
http://mail.python.org/mailman/listinfo/python-list
The CSV module?
--
http://mail.python.org/mailman/listinfo/python-list
Kaz Kylheku wrote:
>
> Now imagine you had to do this with every object.
>
> def add_five(x)
> # return x + 5 <-- anonymous integer literal, not allowed!!!
>five = 5 # define it first
>return x + five
>
I mentioned that as Slippery slope fallacious argument in other reply.
> [
[EMAIL PROTECTED] (Alex Martelli) writes:
>> Any time you want an anonymous function (or class, or type, or number)
>> it would be because that thing is sufficiently small and simple that the
>> best name for it is the code itself.
> In the real world, people don't choose anonymous functions only
sorry, can you say it more clearly?
In Matlab, I can easily import data from Excel just simply use 'xlsread'
command. How to do that in Python environment? thank u!
Paddy wrote:
> The CSV module?
>
--
http://mail.python.org/mailman/listinfo/python-list
I would like to do "some action" once a minute. My code (below) works,
I just wonder if there is some more pythonic approach or some "trick"
how to do it differently.
minutes=time.localtime()[4]
while 1:
min, sec = time.localtime()[4:6]
if sec==0 and minutes!=min: # first occur of sec==0
201 - 223 of 223 matches
Mail list logo