Re: New to Python

2010-02-10 Thread Quin
You know, Jack, that was the point of my original post: to determine why things weren't working. Do you still want to bet money that it is? I can screenshot you TD. "Jean-Michel Pichavant" wrote in message news:mailman.2288.1265799238.28905.python-l...@python.org... Qu

Re: New to Python

2010-02-10 Thread Quin
Well, now you know! "Jean-Michel Pichavant" wrote in message news:mailman.2286.1265797348.28905.python-l...@python.org... Quin wrote: Thanks guys, I'm thinking it's a problem with IronPython. I'm switching to PyScripter and will test tomorrow. I'm willing t

Re: New to Python

2010-02-10 Thread Quin
e Holden" wrote in message news:mailman.2272.1265774639.28905.python-l...@python.org... Quin wrote: Thanks guys, I'm thinking it's a problem with IronPython. I'm switching to PyScripter and will test tomorrow. I'd be very surprised to find that something as basic as this was wr

Re: New to Python

2010-02-09 Thread Quin
Thanks guys, I'm thinking it's a problem with IronPython. I'm switching to PyScripter and will test tomorrow. "Larry Hudson" wrote in message news:ybmdnrfzz_3nvu_wnz2dnuvz_hgdn...@giganews.com... Quin wrote: s = f.readline() if 'mystring' in s: print 

New to Python

2010-02-09 Thread Quin
s = f.readline() if 'mystring' in s: print 'foundit' if 'mystring' not in s: print 'not found' if 'mystring' in s: print 'processing' this generates output: not found processing so, it doesn't find the substring, but goes into processing code anyway. This is using IronPython -- http://mail.p