Re: problem with the 'math' module in 2.5?

2006-10-14 Thread David Lees
Chris wrote: > sin(pi*0.5) is what I expected, but I expected to get 0 for sin(pi). > http://docs.python.org/tut/node16.html david -- http://mail.python.org/mailman/listinfo/python-list

Re: Observation on "Core Python Programming"

2006-10-29 Thread David Lees
0, but he does give examples of usage along the way. david lees > -- http://mail.python.org/mailman/listinfo/python-list

Tkinter on Silicon Graphics machine?

2006-12-05 Thread David Lees
Does anyone have advice on installing Tkinter on s Silicon Graphics machine (under IRIX 6, I think). The SysAdmin at work build Python 2.4.3 for me on the SGI box, but it does not have Tkinter. Are there any prebuilt distributions for SGI machines that include Tkinter? TIA david lees

Re: Tkinter on Silicon Graphics machine?

2006-12-06 Thread David Lees
[EMAIL PROTECTED] wrote: > David Lees wrote: >> Does anyone have advice on installing Tkinter on s Silicon Graphics >> machine (under IRIX 6, I think). The SysAdmin at work build Python 2.4.3 >> for me on the SGI box, but it does not have Tkinter. Are there any >> pre

Re: merits of Lisp vs Python

2006-12-08 Thread David Lees
[EMAIL PROTECTED] wrote: > Okay, since everyone ignored the FAQ, I guess I can too... > > Mark Tarver wrote: >> How do you compare Python to Lisp? What specific advantages do you >> think that one has over the other? > > (Common) Lisp is the only industrial strength language with both pure > com

Scipy and Mcafee Site Advisor?

2007-07-31 Thread David Lees
involved? I am wondering if I should remove the SiteAdvisor software, because it is not particularly reliable. Puzzled. david lees -- http://mail.python.org/mailman/listinfo/python-list

HowTo Use Cython on a Windows XP Box?

2007-08-31 Thread David Lees
C++ 2003. I only have Visual C++ 2005 on my machine and am unable to find a download of 2003 on the Microsoft site (no big surprise). I have never built Python from source. Is it necessary or can someone suggest an alternative? TIA david lees -- http://mail.python.org/mailman/listinfo

Re: HowTo Use Cython on a Windows XP Box?

2007-08-31 Thread David Lees
John Machin wrote: > On Sep 1, 1:40 pm, Paul McGuire <[EMAIL PROTECTED]> wrote: >> On Aug 31, 9:06 pm, David Lees <[EMAIL PROTECTED]> wrote: >> >>> August 31, 2007 >>> I just downloaded the current Cython release and have no problem running >>>

How to efficiently read binary files?

2006-04-30 Thread David Lees
of integers in Python? TIA David Lees -- http://mail.python.org/mailman/listinfo/python-list

Re: How to efficiently read binary files?

2006-04-30 Thread David Lees
Alex Martelli wrote: > David Lees <[EMAIL PROTECTED]> wrote: > >> I want to process large binary files (>2GB) in Python. I have played >> around with prototypes in pure Python and profiled the code. Most of >> the time seems to be spent converting back and forth

Looking for suggestions on improving numpy code

2008-02-22 Thread David Lees
I am starting to use numpy and have written a hack for reading in a large data set that has 8 columns and millions of rows. I want to read and process a single column. I have written the very ugly hack below, but am sure there is a more efficient and pythonic way to do this. The file is too

Re: Book Recomendations

2008-03-02 Thread David Lees
Ira Solomon wrote: > I am an experienced programmer (40 years). I've done Algol (if you've > heard of that you must be old too), PL/1, VB,VBA, a little C, and a > few other odd languages (e.g. Taskmate). > I'm interested in learning Python and have downloaded a slew of books. > Too many. > I'd lik

Very Slow PythonWin 2.6.1 Startup on Windows XP SP3

2008-12-18 Thread David Lees
normal startup times. Does anyone have suggestions on how to speed up Python startup? David Lees -- http://mail.python.org/mailman/listinfo/python-list

Re: Very Slow PythonWin 2.6.1 Startup on Windows XP SP3

2008-12-19 Thread David Lees
Allan wrote: David Lees writes: PythonWin used to startup in a second or two on my Windows XP desktop. now it takes around 20 seconds. I tried turning off Google Desktop indexing and Norton AV, but it still takes a long time to start. Other random apps such as Firefox 3.0 (which I just

Re: Can some1 review my code?

2009-04-20 Thread David Lees
that suits your learning style. David Lees -- http://mail.python.org/mailman/listinfo/python-list

Unable to install Pywin32 for Python 2.6.2

2009-05-11 Thread David Lees
Python 2.5.4 and its associated Pywin32 on the same machine, but I have a laptop with pywin32 installed for both python 2.5 and 2.6. TIA David Lees -- http://mail.python.org/mailman/listinfo/python-list

Re: Fwd: Re: Unable to install Pywin32 for Python 2.6.2

2009-05-12 Thread David Lees
th your night vision task David On Tue, 12 May 2009 02:22:56 GMT, David Lees wrote: I have no problem installing Python 2.6.2 for windows under XP SP3 and IDLE and the command line versions work fine. When I run the pywin32 installer downloaded from sourceforge (pywin32-212.win32-py2.6.exe)

Re: How to figure out if the platform is 32bit or 64bit?

2008-07-15 Thread David Lees
[EMAIL PROTECTED] wrote: I need to know if I'm running on 32bit or 64bit ... so far I haven't come up with how to get this info via python. sys.platform returns what python was built on ... but not what the current system is. I thought platform.uname() or just platform.processor() would have don

Unable to install pywin32 for Python 2.6.2

2009-09-02 Thread David Lees
DLL load failed: The specified module could not be found -- I have uninstalled my Python 2.5.4 and Python 2.6.2 and it does not help. Any suggestions on how to install Pywin32 appreciated. TIA David Lees -- http://mail.python.org/mailman/listinfo/python-list

Re: Unable to install pywin32 for Python 2.6.2

2009-09-02 Thread David Lees
David Lees wrote: I install Python 2.6.2 with no problem, but then run the installer for pywin32 from Source Forge and get this message at the end. IDLE works, but Pywin32 does not. Traceback (most recent call last): File "", line 601, in File "", line 313, in inst