re.search when used within an if/else fails

2012-11-19 Thread Kevin T
python version 2.4.3, yes i know that it is old. getting the sysadmin to update the OS requires a first born. with the following code.. for signal in register['signals'] : 351 sigName = signal['functionName'] 352 if re.search( "rsrvd", sigName

Re: re.search when used within an if/else fails

2012-11-20 Thread Kevin T
On Monday, November 19, 2012 7:29:20 PM UTC-6, Steven D'Aprano wrote: > On Tue, 20 Nov 2012 01:24:54 +, Steven D'Aprano wrote: > > > > - use "if something is None", not == None. > > > Steven i will not include line #'s in the future, point taken i will change ==/!= to is/is not as most pe

Re: re.search when used within an if/else fails

2012-11-21 Thread Kevin T
On Nov 20, 1:37 pm, Ian Kelly wrote: > On Tue, Nov 20, 2012 at 12:09 PM, Kevin T wrote: > > #if re.search( "rsrvd", sigName ) :   #version a > > #if re.search( "rsrvd", sigName ) == None :   #version b > > if re.search( "rsrvd", sig

Re: re.search when used within an if/else fails

2012-11-28 Thread Kevin T
, which is tab based. thanks kevin On Wednesday, November 21, 2012 11:00:50 PM UTC-6, Chris Angelico wrote: > On Thu, Nov 22, 2012 at 3:41 AM, Kevin T wrote: > > > I went back and tried version a again, blam it is/does work now ?!?!? > > > > This is why the Short, Self-Co

FCGI Help?

2005-02-13 Thread Kevin T. Ryan
I'm also hoping to use something a little less daunting than Apache if possible. Thanks for your help, and sorry for such a long post! Kevin T. Ryan -- http://mail.python.org/mailman/listinfo/python-list

Re: indexing web pages - in python?

2007-04-18 Thread Kevin T. Ryan
On Apr 18, 8:55 pm, Dan Stromberg <[EMAIL PROTECTED]> wrote: > Are there any open source search engines written in python for indexing a > given collection of (internal only) html pages? Right now I'm talking > about dozens, but hopefully it'll be hundreds or thousands at some point. > > I'm think

Re: Plot with scipy

2007-05-06 Thread Kevin T. Ryan
On May 4, 8:53 am, redcic <[EMAIL PROTECTED]> wrote: > Hi all, > > I've just downloaded scipy v 0.5.2 and I would like to be able to draw > plots. I've tried: > import scipy.gplt > import scipy.plt > import scipy.xplt > > and none of them work. Are these modules still included in scipy ? If > not,

Packages

2007-07-27 Thread Kevin T. Ryan
Hi All - I'm having a problem and I hope you can help. I can't seem to import packages from within the package substructure as I think I should be able to. For example, I create a directory structure as follows: testpkg __init__.py [empty] testsub1/ __init__.py [empty] bad.py [impor

Re: Packages

2007-07-27 Thread Kevin T. Ryan
On Jul 27, 7:21 pm, Alex Popescu <[EMAIL PROTECTED]> wrote: > "Kevin T. Ryan" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > > > > Hi All - > > > I'm having a problem and I hope you can help. I can't seem to import > > pac

Compiling Source with alternate Openssl lib

2007-08-28 Thread Kevin T. Ryan
Hi All - I'm trying to compile Python on a Centos machine (RHEL) 3.8 for a hosting account that I just set up and I'm having 2 issues: 1. I ran into an issue with the "hashlib" module [I think] because it bumps it up against an *OLD* openssl lib (like, Feb. 2003). So I installed a newer openssl

Re: Compiling Source with alternate Openssl lib

2007-08-28 Thread Kevin T. Ryan
On Aug 28, 2:09 pm, "Kevin T. Ryan" <[EMAIL PROTECTED]> wrote: > Hi All - > > I'm trying to compile Python on a Centos machine (RHEL) 3.8 for a > hosting account that I just set up and I'm having 2 issues: > > 1. I ran into an issue with the "h