|
|
|
|||||
|
pythonw, loadSlice and popup windows
I have been trying to make my python applications more Windows friendly, in particular I am trying to eliminate annoying cmd windows. Creating wrappers with the .pyw extension allows me to create desktop shortcuts that, when clicked, start the application without an associated cmd shell window. However, when I do that I find that I get a flurry of cmd shells while the application loads. I traced that flurry to the loadSlice() command. Here is some code to illustrate:
Code:
#foo.py
import time
import Ice
for i in range(5):
Ice.loadSlice('foo.ice')
time.sleep(1)
Code:
// foo.ice
module Foo
{
interface Bar
{
void keepAlive();
};
};
Thanks!
__________________
Edward |
|
|||||
|
Hi Matthew,
Thanks for your quick reply. It's not an urgent issue, so I'll just wait for 3.3. Regards,
__________________
Edward Last edited by Edward Bishop : 03-29-2008 at 12:35 AM. Reason: typo in Matthew's name |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows installer | David | Bug Reports | 14 | 08-22-2006 02:36 PM |
| Error using Ice.loadSlice() with nested *.ice | hiasl | Help Center | 1 | 08-29-2005 08:00 AM |
| Intel compiler on Windows | DeepDiver | Bug Reports | 2 | 01-03-2005 04:57 AM |
| IcePack for Windows? | brian | Help Center | 2 | 01-06-2004 12:12 PM |
| Installing on Windows 2000 | brian | Help Center | 4 | 10-08-2003 01:29 PM |