Re: wxPython Conventions

2006-02-01 Thread Johan Lindberg
Iain King skrev: > How do you gain access to the system tray? Use wx.TaskBarIcon. See http://wiki.wxpython.org/index.cgi/FlashingTaskbarIcon for snippets. /Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: finding sublist

2005-08-03 Thread Johan Lindberg
o all other possible subsequences and that's what's going to take most of the time. If you haven't already, check out psyco (http://psyco.sourceforge.net/). It will most definitely make your code run faster. BR Johan Lindberg [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: finding sublist

2005-08-02 Thread Johan Lindberg
text.find(part, end)!= -1: if part not in result: result.append(part) return result >>>foo("testeststest", 4) ['test', 'stes', 'stest'] >>>foo("testeststest", 3) ['tes', 'est', 'ste', 'test', 'stes', 'stest'] HTH Johan Lindberg [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Office COM automatisation - calling python from VBA

2005-06-25 Thread Johan Lindberg
re not, download his presentation and example code from: http://www.python-in-business.org/ep2005/talk.chtml?talk=2626&track=690 HTH Johan Lindberg [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: HTML editor component?

2005-04-06 Thread Johan Lindberg
oject/showfiles.php?group_id=72786&package_id=138707 BR /Johan Lindberg -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question: starting external application(win)?

2004-12-09 Thread Johan Lindberg
MS Word with: >>> os.startfile("MyDocument.doc") /Johan Lindberg -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython bug

2004-12-09 Thread Johan Lindberg
close. /Johan Lindberg -- http://mail.python.org/mailman/listinfo/python-list

Re: pickle and py2exe

2004-12-03 Thread Johan Lindberg
ve you included string-escape encoding in your setup.py? >>My guess is that you can fix the problem with something similar to: >> >> from distutils.core import setup >> import py2exe >> opts = { "py2exe": { "packages": ["encodings"], } } >>

Re: pickle and py2exe

2004-12-01 Thread Johan Lindberg
pile > this is there an issue. > > Thanks for any help, > > Justin Have you included string-escape encoding in your setup.py? My guess is that you can fix the problem with something similar to: from distutils.core import setup import py2exe opts = { "py2exe&quo