Re: sorting question

2008-03-13 Thread "Andrew Rekdal"
Seems 'KEYBOARDS' works nicely -- -- Andrew "jcnbp8k" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi Patty, > > That's easy solved, the word is keyboards. > > I just did a google search for 'anagram solver' and got lucky with Andy's > free online anagram solver at http://www

Re: Python regex

2008-03-13 Thread &quot;Andrew Rekdal"
-- -- Andrew "Arnaud Delobelle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Mar 13, 8:03 pm, "Andrew Rekdal" <@comcast.net> wrote: > I hope posting is ok here for this question... > > I am attempting to extract the text from a CSS co

Re: Python regex

2008-03-13 Thread &quot;Andrew Rekdal"
made error on last line... read as... > I would be saying if forward-slash AND asterisk appear in this order... > negate -- -- Andrew "Andrew Rekdal @comcast.net>" < wrote in message news:[EMAIL PROTECTED] >I hope posting is ok here for this question... > >

Python regex

2008-03-13 Thread &quot;Andrew Rekdal"
I hope posting is ok here for this question... I am attempting to extract the text from a CSS comment using 're' such as... string = "/* CSS comment /*" exp = "[^(/*)].*[^(*/)] " p = re.compile(exp) q = p.search(string) r = q.group() print r >>CSS comment although this works to a degree... I

Class Inheritance

2008-03-12 Thread &quot;Andrew Rekdal"
I am trying to bring functions to a class by inheritance... for instance in layout_ext I have.. --- layout_ext.py- class Layout() def...some function that rely on css in Layout.py def... ---EOF-- in the main application file I have... Layout.py--- from layout_ext import Lay

Re: help please, splitter windows like in maya or 3ds max

2008-03-12 Thread &quot;Andrew Rekdal"
This seems to work... split then split each side. then tandem the size. import wx class Layout(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title) sizer = wx.BoxSizer(wx.HORIZONTAL) panel = wx.Panel(self,-1) splitter = wx.SplitterWindow(panel)

Re: Big file

2008-03-12 Thread Andrew Rekdal
panels and such in a fresh document rather than travesing through tons of widgets and sizers. Thanks for your replies -- -- Andrew "Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 12 Mar 2008 19:42:44 -0500, Andrew Rekdal wrote:

Big file

2008-03-12 Thread Andrew Rekdal
I am working in the class constructor defining elements of an application. The problem is the file is getting unmanageble and I am wanting to extend the contructor __init__ to another file. Is it possible to import directly into the contructor the contents of another module file? If so how wou