the solution was obvious: the wxPython and Windows MFC
event loops will collide. This is because PythonWin doesn't run scripts
as a separate process, but within PythonWin's context.
Things will probably work fine until you call wx.MainLoop().
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org
Timothy Smith wrote:
Steve Holden wrote:
Timothy Smith wrote:
i try to run my app and i get this
%python DutyShift.py
error
thats it. thats the error. mya pp was previously working, and i did
make some fairly large changes to it, but i'd expect a more
descriptive message
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.pycon.org
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman
be able to get away with (something like, untested):
for entry in adr_li.AddressEntries.Item('MyGroup').Members:
for name in entry.Members:
print name.Name,name.Address
HTH. Just a few ideas.
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC
on
other computers?
regards
Steve
--
Steve Holden+1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
___
Python-win32 mailing list
Python-win32@python.org
http
used compile() and considered using a 'block'. Compile doesn't
help. And I can't find an equivalent for 'eval( block )' ...
Who has the answer?
Well, you do! You ask how to exec a statement, and the answer is ... use
an exec statement!
exec a = 25/3
a
8
regards
Steve
--
Steve Holden