On the local radio station here in the Czech they announced simple
contest:
If listeners will hear Elton John's Sacrifice followed immediately by
Madonna's Frozen they have to call to the broadcasting. First caller
will get some price.
I am just thinking about the concept how to analyse music stre
On 24 ec, 19:11, Robert Dailey <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a string in the following format:
>
> "00:00:25.886411"
>
> I would like to pass this string into the datetime.time() class and
> have it parse the string and use the values. However, the __init__()
> method only takes inte
Peter Otten wrote:
> unicode.translate() supports this kind of replacement...
> and re.compile(...).sub() accepts a function:
Thanks Peter!
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/ma
Neil Cerutti <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On 2007-07-24, Alex Popescu <[EMAIL PROTECTED]> wrote:
>> Bruno Desthuilliers <[EMAIL PROTECTED]>
>> wrote in news:[EMAIL PROTECTED]:
>>
>
> [snip...]
>
>>
>> class MyClass(object):
>> class_list = ['a', 'b']
>>
>> def instan
Has anyone tried to run pg8000, a pure Python PostgreSQL DB-API 2.0
implementation, under IronPython? If so, I would be interested in how
well it worked.
Many thanks for you help.
Olaf
--
http://mail.python.org/mailman/listinfo/python-list
7stud wrote:
> Can anyone tell me why I can print out the individual variables in the
> following code, but when I print them out combined into a single
> string, I get an error?
>
> symbol = u'ibm'
> price = u'4 \xbd' # 4 1/2
>
> print "%s" % symbol
> print "%s" % price.encode("utf-8")
> print
On Jul 25, 6:56 am, 7stud <[EMAIL PROTECTED]> wrote:
> Can anyone tell me why I can print out the individual variables in the
> following code, but when I print them out combined into a single
> string, I get an error?
>
> symbol = u'ibm'
> price = u'4 \xbd' # 4 1/2
>
> print "%s" % symbol
> print
Hello,
(sorry to begin with Java in a Python list ;-)
in Java, when I want to pass input to a function, I pass
"InputStream", which is a base class of any input stream.
In Python, I found that "file" objects exist. While specifying
argument types in Python is not possible as in Java, it is possib
On Tue, 24 Jul 2007 20:09:00 +0200, Bjoern Schliessmann wrote:
> Stargaming wrote:
>> On Tue, 24 Jul 2007 03:19:53 -0700, bearophileHUGS wrote:
>
>>> While in a syntax like:
>>> for i in xrange(1_000_000):
>>> my eyes help me group them at once.
>>
>> Sounds like a good thing to be but the arbi
On Tue, 24 Jul 2007 21:35:58 +, Alex Popescu wrote:
> Neil Cerutti <[EMAIL PROTECTED]> wrote in
> news:[EMAIL PROTECTED]:
>
>> On 2007-07-24, Alex Popescu <[EMAIL PROTECTED]> wrote:
>>> Bruno Desthuilliers <[EMAIL PROTECTED]>
>>> wrote in news:[EMAIL PROTECTED]:
>>>
>>
>> [snip...]
>>
>>>
>>
On Tuesday 24 July 2007 09:38, Ryan Rosario wrote:
> Hi,
>
> I have a directory that contains a bunch of email messages and I would
> like to parse them using the email and mailbox packages. The emails were
> exported from Apple Mail. From what I gather, I need to use MHMailbox, but
> I can't get
Steve Holden <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
> > On 24 srp, 05:20, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> >> En Mon, 23 Jul 2007 16:53:01 -0300, ...:::JA:::...
> >> <[EMAIL PROTECTED]> escribió:
> >>> So..how can I do this?
> >>> I will appreciate a
On Jul 24, 11:16 pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-07-24 at 05:15 -0700, John Machin wrote:
> > On Jul 24, 8:31 pm, "Yinghe Chen" <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > Could someone help on how to use python to output the next month string
> > > like
> > > this?
>
>
On Jul 24, 5:19 am, [EMAIL PROTECTED] wrote:
> There are various things I like about the D language that I think
> Python too may enjoy. Here are few bits (mostly syntactical ones):
>
> 1) (we have discussed part of this in the past) You can put
> underscores inside number literals, like 1_000_000,
Neil Cerutti <[EMAIL PROTECTED]> writes:
> On 2007-07-24, Robert Dailey <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a string in the following format:
> >
> > "00:00:25.886411"
> >
> > I would like to pass this string into the datetime.time() class
> > and have it parse the string and use the
En Tue, 24 Jul 2007 05:10:31 -0300, Harel <[EMAIL PROTECTED]> escribió:
> What was the solution you found?
> Could you please post it? I'm having the same problem... ;o(
>
> On Jul 16, 2:53 pm, Torsten Bronger <[EMAIL PROTECTED]>
> wrote:
>>
>> > The Content-Transfer-Encoding is wrong. Okay (well
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On Tue, 24 Jul 2007 21:35:58 +, Alex Popescu wrote:
>
>> Neil Cerutti <[EMAIL PROTECTED]> wrote in
>> news:[EMAIL PROTECTED]:
>>
>>> On 2007-07-24, Alex Popescu <[EMAIL PROTECTED]> wrote:
Bruno Desthuilliers
On 2007-07-24, Ben Finney <[EMAIL PROTECTED]> wrote:
> Neil Cerutti <[EMAIL PROTECTED]> writes:
>
>> On 2007-07-24, Robert Dailey <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I have a string in the following format:
>> >
>> > "00:00:25.886411"
>> >
>> > I would like to pass this string into the da
On 2007-07-25, Alex Popescu <[EMAIL PROTECTED]> wrote:
> As a matter of style, how do you figure out that class_list is
> a class attribute and not an instance attribute? (I don't
> remember seeing anything in the PEP describing the coding
> style).
Check out dir(MyClass) and dir(MyClass()) for so
En Tue, 24 Jul 2007 11:10:53 -0300, Stargaming <[EMAIL PROTECTED]>
escribió:
> On Tue, 24 Jul 2007 03:19:53 -0700, bearophileHUGS wrote:
>
>> There are various things I like about the D language that I think Python
>> too may enjoy. Here are few bits (mostly syntactical ones):
>>
>> 1) (we have
Neil Cerutti <[EMAIL PROTECTED]> wrote in news:eRwpi.36813$G23.28496
@newsreading01.news.tds.net:
> On 2007-07-25, Alex Popescu <[EMAIL PROTECTED]> wrote:
>> As a matter of style, how do you figure out that class_list is
>> a class attribute and not an instance attribute? (I don't
>> remember seei
En Tue, 24 Jul 2007 10:47:16 -0300, Carsten Haese <[EMAIL PROTECTED]>
escribió:
> On Tue, 2007-07-24 at 09:07 -0400, DB Daniel Brown wrote:
>> I am working on a program that needs to stat files (gif, swf, xml,
>> dirs, etc) from the web. I know how to stat a local file…
>> but I can’t figure out
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 24 Jul 2007 14:55:43 -0300, Prepscius, Colin (IT)
<[EMAIL PROTECTED]> escribió:
> Actually, thx to Gabrielle Genellina, who wrote earlier:
Ehmm... my name is actually Gabriel, and last time I checked, I was a male
:)
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/
En Tue, 24 Jul 2007 14:37:20 -0300, Miles <[EMAIL PROTECTED]> escribió:
> On 7/24/07, Robert Dailey wrote:
>> I have a string in the following format:
>>
>> "00:00:25.886411"
>>
>> I would like to pass this string into the datetime.time() class and
>> have it parse the string and use the values.
En Tue, 24 Jul 2007 19:51:30 -0300, Boris Dušek <[EMAIL PROTECTED]>
escribió:
> in Java, when I want to pass input to a function, I pass
> "InputStream", which is a base class of any input stream.
>
> In Python, I found that "file" objects exist. While specifying
> argument types in Python is no
On Jul 25, 8:51 am, Boris Dušek <[EMAIL PROTECTED]> wrote:
> In Python, I found that "file" objects exist. While specifying
> argument types in Python is not possible as in Java, it is possible to
> check whether an object is an instance of some class and that's what I
> need - I need to check if
Gabriel Genellina wrote:
> As is often the case, a regular expression is NOT the right tool to use
> in this case.
>
> --Gabriel Genellina
Very interesting, thank you. I think 'pattern matching' and I
automatically think 'regular expressions'.
I did already find that it speeds things up to pre
On 7/24/07, Gordon Airporte <[EMAIL PROTECTED]> wrote:
> I did already find that it speeds things up to pre-test a line like
>
> if 'bets' or 'calls' or 'raises' in line:
> run the appropriate re's
Be careful: unless this is just pseudocode, this Python doesn't do
what you think it does; i
En Wed, 25 Jul 2007 00:02:51 -0300, Gordon Airporte <[EMAIL PROTECTED]>
escribió:
> Gabriel Genellina wrote:
>
>> As is often the case, a regular expression is NOT the right tool to use
>> in this case.
>
> Very interesting, thank you. I think 'pattern matching' and I
> automatically think 'regu
101 - 130 of 130 matches
Mail list logo