Re: Numeric root-finding in Python

2012-02-20 Thread David Monaghan
On Sun, 12 Feb 2012 10:20:17 -0500, inq1ltd inq1...@inqvista.com wrote: I don't know the first thing about this math problem however, if I were to code this I might try ; except ZeroDivisionError: assert w = -1 rather than; except ZeroDivisionError: assert w == -1

Re: MOST COMMON QUESTIONS ASKED BY NON-MUSLIMS ?????????

2012-01-07 Thread David Monaghan
On Tue, 3 Jan 2012 09:57:50 -0800 (PST), John Ladasky lada...@my-deja.com wrote: On Jan 3, 7:40 am, BV bv5bv5...@yahoo.com wrote: MOST COMMON QUESTIONS ASKED BY NON-MUSLIMS Q0. Why do thousand-line religious posts appear in comp.lang.python? You know, I would never have seen this post if you

Re: Spamming PyPI with stupid packages

2012-01-02 Thread David Monaghan
On Mon, 2 Jan 2012 02:52:06 -0500, Devin Jeanpierre jeanpierr...@gmail.com wrote: Perhaps I'm just slow, but what is sexist about this package? Do you even know what the package does? The dependencies are car, house, and money (and workhard, of course). The joke being that women only care

Re: Need A script to open a excel file and extract the data using autofilter

2011-10-04 Thread David Monaghan
On Tue, 04 Oct 2011 19:42:06 +0100, Chris Withers ch...@simplistix.co.uk wrote: On 01/10/2011 23:00, David Monaghan wrote: after opening the text.xls file i need to filter all the rows in which the status column is passed and copy the whole sheet to another sheet I don't do this often enough

Re: Need A script to open a excel file and extract the data using autofilter

2011-10-01 Thread David Monaghan
On Sat, 1 Oct 2011 10:35:06 -0700 (PDT), Prakash prakash...@gmail.com wrote: On Oct 1, 10:25 pm, Prakash prakash...@gmail.com wrote: Need  A script to open a excel file and extract the data using autofilter and write it in a new sheet or new file like I have to select all rows in which all the

Re: Need A script to open a excel file and extract the data using autofilter

2011-10-01 Thread David Monaghan
On Sat, 01 Oct 2011 23:00:07 +0100, David Monaghan monaghand.da...@gmail.com wrote: from win32com.client import Dispatch xlApp = Dispatch(Excel.Application) xlWbook = xlApp.Workbooks.Open(rC:\Users\Administrator\Desktop\test.xls) xlApp.Visible = 1 xlWorksheet = xlWbook.Worksheets(1

Re: Ten rules to becoming a Python community member.

2011-08-16 Thread David Monaghan
On Tue, 16 Aug 2011 13:13:10 -0700 (PDT), rantingrick rantingr...@gmail.com wrote: If conciseness is all you seek then perhaps you prefer the following? ORIGINAL: I used to wear wooden shoes CONCISE: I wore wooden shoes ORIGINAL: I have become used to wearing wooden shoes CONCISE: I like

Re: Ten rules to becoming a Python community member.

2011-08-16 Thread David Monaghan
On Tue, 16 Aug 2011 16:12:53 -0700 (PDT), rantingrick rantingr...@gmail.com wrote: On Aug 16, 4:55 pm, David Monaghan monaghand.da...@gmail.com wrote: On Tue, 16 Aug 2011 13:13:10 -0700 (PDT), rantingrick rantingr...@gmail.com wrote: If conciseness is all you seek then perhaps you prefer

Re: Coolest Python recipe of all time

2011-05-02 Thread David Monaghan
On Mon, 2 May 2011 10:33:31 -0700 (PDT), Raymond Hettinger pyt...@rcn.com wrote: I think it is time to give some visibility to some of the instructive and very cool recipes in ActiveState's python cookbook. My vote for the coolest recipe of all time is:

Re: Coolest Python recipe of all time

2011-05-02 Thread David Monaghan
On Mon, 2 May 2011 14:58:50 -0600, Ian Kelly ian.g.ke...@gmail.com wrote: On Mon, May 2, 2011 at 2:48 PM, David Monaghan monaghand.da...@gmail.com wrote: On Mon, 2 May 2011 10:33:31 -0700 (PDT), Raymond Hettinger pyt...@rcn.com wrote: I think it is time to give some visibility to some

Re: python to exe

2010-03-14 Thread David Monaghan
On Sun, 14 Mar 2010 13:10:32 -0600, John Bokma j...@castleamber.com wrote: David Monaghan monaghand.da...@gmail.com writes: of Google. If they haven't used it, I don't really consider the gentle reminder that LMGTFY gives too harsh. If you do, you're too much of a gentle soul

Re: python to exe

2010-03-13 Thread David Monaghan
On Sat, 13 Mar 2010 12:52:39 -0600, John Bokma j...@castleamber.com wrote: Steven D'Aprano st...@remove-this-cybersource.com.au writes: As the old proverb goes: give a man a fish, and you feed him for a day. Teach him how to fish, and he has food forever. True, but you don't teach someone

Re: Python 3 minor irritation

2010-02-04 Thread David Monaghan
On Thu, 04 Feb 2010 00:39:01 +, David Monaghan monaghand.da...@gmail.com wrote: I have a small program which reads files from the directory in which it resides. It's written in Python 3 and when run through IDLE or PythonWin works fine. If I double-click the file, it works fine in Python 2.6

Python 3 minor irritation

2010-02-03 Thread David Monaghan
I have a small program which reads files from the directory in which it resides. It's written in Python 3 and when run through IDLE or PythonWin works fine. If I double-click the file, it works fine in Python 2.6, but in 3 it fails because it looks for the files to load in the Python31 folder, not

Re: Microsoft Office Word and Python (Win XP)

2010-01-09 Thread David Monaghan
On Sat, 9 Jan 2010 11:18:12 -0800 (PST), 3lvss0...@gmail.com 3lvss0...@gmail.com wrote: Dennis Lee Bieber: Im not familiar with python, also Im not programmer. What you want to do isn't complicated, but it isn't simple either, unless you're familiar with VBA/VBS. I approach these problems by