On 11 Nov 2005 11:34:47 -0800, Greg <[EMAIL PROTECTED]> wrote:
> Forgive me, and be kind, as I am just a newby learning this language
> out of M.L. Hetland's book. The following behavior of 2.4.1 seems very
> strange
> >>> x = ['aardvark', 'abalone', 'acme', 'add',
> 'aerate']
> >>> x.sort(ke
On 11/9/05, Shi Mu <[EMAIL PROTECTED]> wrote:
> Delaunay triangulations
>
> On 11/9/05, Robert Kern <[EMAIL PROTECTED]> wrote:
> > Shi Mu wrote:
> > > is there any sample code to triangulation? many thanks!
> >
> > Triangulation of what? Scattered points in a plane? 2D manifolds
> > embedded in a 3
On 30 Aug 2005 10:54:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> i feel like a complete idiot.
Now don't go and do that. Mistakes happen.
--
Kristian
kristian.zoerhoff(AT)gmail.com
zoerhoff(AT)freeshell.org
--
http://mail.python.org/mailman/listinfo/python-list
On 30 Aug 2005 10:42:41 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey there,
> could someone show me where i am going wrong here?
>
> >>> date1 = '2005-01-01 8:20:00'
> >>> date1 = strptime('%Y-%m-%d %H:%M:%S',date1)
>
> raise ValueError("time data did not match format: data=%s fmt=
On 8/11/05, Steve M <[EMAIL PROTECTED]> wrote:
> Kristian Zoerhoff wrote:
>
> > On 8/11/05, Steve M <[EMAIL PROTECTED]> wrote:
> >> Hello,
> >>
> >>I'm having problems sending information from a python
> >> script to a pr
On 8/11/05, Steve M <[EMAIL PROTECTED]> wrote:
> Hello,
>
>I'm having problems sending information from a python
> script to a printer. I was wondering if someone might send me
> in the right direction. I wasn't able to find much by Google
Which platform? Directions will vary wildly.
--
On 6/24/05, Xavier Décoret <[EMAIL PROTECTED]> wrote:
>
> For example, the code
>
> # f = lambda : print "hello"
> # f()
> does not compile, although:
>
> # def f():
> # print "hello"
> # f()
>
> does compile. Is there a particular syntax for lambda that I am missing
> or is it simply lim
On 1 Jun 2005 09:41:53 -0700, infidel <[EMAIL PROTECTED]> wrote:
> Why in the name of all that is holy and just would you need to do such
> a thing?
Is anyone else amused that this came from the mouth of someone named "Infidel"?
--
Kristian
kristian.zoerhoff(AT)gmail.com
zoerhoff(AT)freeshell.o
On 5/3/05, Anand Kumar <[EMAIL PROTECTED]> wrote:
>
> I am actually trying to mimic a multi dimensional array in C.
> I tried doing things like
Python lists are not arrays in that sense. If you really want an
array, you probably want Numeric or Numarray. Head over to
http://numeric.scipy.org/ to
On 3 May 2005 10:42:43 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm new to python. I tried doing this
>
> >>> x = [[]] * 3
> >>> print x
> [ [] [] [] ]
> >>> x[0].append( 2 )
> [ [2] [2] [2] ]
>
> I confused with the last line output. I actually expected something
> like
>
> [ [2] [
Forwarding to list, as you forgot to Reply-all (Don't worry, we all do
it at least once!).
-- Forwarded message --
From: Mayer Goldberg <[EMAIL PROTECTED]>
Date: Apr 26, 2005 3:01 PM
Subject: Re: how to find the drive in python/cygwin?
To: Kristian Zoerhoff <[E
On 26 Apr 2005 11:29:26 -0700, Mayer <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I'm running python under cygwin and need to find the drive letter.
> Cygwin has a way of calling my drives by a name relative to the Cygwin
> directory, so I get things like /home/user rather than
> /cygdrive/g/cygwin/hom
On 13 Apr 2005 12:06:26 -0400, Roy Smith <[EMAIL PROTECTED]> wrote:
> Scott David Daniels <[EMAIL PROTECTED]> wrote:
> >If you think those are fun, try base (1j - 1)
>
> Get real. I can't imagine using anything so complex.
+1 QOTW
--
Kristian
kristian.zoerhoff(AT)gmail.com
zoerhoff(AT)freesh
On Apr 7, 2005 3:34 PM, David M. Cooke
>
> I don't do Windows, so I can't say this will work, but try
>
> >>> inf = 1e308*2
I *do* do Windows, and that does work. The value of inf then becomes
'1.#INF' as expected. Strangely, doing
float('1.#INF')
still fails on Windows. Weird, weird.
--
Kr
On Thu, 20 Jan 2005 19:14:10 -, Tim Golden
<[EMAIL PROTECTED]> wrote:
> [Kristian Zoerhoff]
> |
> | On Thu, 20 Jan 2005 18:58:25 -, Tim Golden
> | <[EMAIL PROTECTED]> wrote:
> | >
> | > Can anyone else try a "PRINT blah" or a "COPY
15 matches
Mail list logo