Re: WMI - invalid syntax error?



The problem only seems to occur when importing the file and using it
that way. It works the first time, but not the second, third, etc. If
I run the same commands via the interpreter I have no problem.

I may end up looking into some other way of getting the list of
processes....this is real screwy.

I am going to try typing up that simple function into a new py file and
put it on a diff. PC and try it. I tried my current code on another
computer and had the same issue...but I am wondering if I start anew if
it will help.

.



Relevant Pages

  • Re: how to optimize zipimport
    ... called,i mean, say,first time it take me 1 second to call a method in ... importing the modules, how you are calling methods, with timing ... Do you have .pyc files in your ZIP file? ... Apart from code executed once at app start to inject the path to the ...
    (comp.lang.python)
  • Re: Expression not working
    ... > When I put this expression in the Before Update event of another field in ... except for the first time. ... Prev by Date: ...
    (microsoft.public.access.forms)
  • Re: AVG free Version
    ... the first time you booted the system you agreed that it was tied to that ... What defines that computer is open to interpretation. ... Kerry ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: My python interpreter became mad !
    ... fashion that it is invoked when one does "import re"? ... This is a classic case of a script when imported instead of being executed) being given the same name as a Python-included module and being executed in the current directory and hence ends up importing itself. ... > first time, all works right. ...
    (comp.lang.python)
  • Re: Question about Lebesque Integral
    ... You got several replies the first time you posted this question. ... David C. Ullrich ... Prev by Date: ...
    (sci.math)