le dahut wrote:
Hello
With Vista (XP works fine), when using SetValueEx in a script ran by an
administrator I get "Access Denied". I know that's it's due to UAC so
does someone know how to do a 'sudo' when using something else than
CreateProcess ?
I'm not on Vista at the mo, so this is a ve
Hello
With Vista (XP works fine), when using SetValueEx in a script ran by an
administrator I get "Access Denied". I know that's it's due to UAC so
does someone know how to do a 'sudo' when using something else than
CreateProcess ?
___
python-win32
Mike Driscoll wrote:
Tim Golden wrote:
Yes, I tried that to see what you meant. I'm not sure there's
much I'm going to be able to do about that, unless someone
jumps in with a solution. My main point about the examples is
that they're self-contained. (ie you don't need to prearrange
any data or
Tim Golden wrote:
bob
gailer wrote:
Tim Roberts wrote:
bob gailer wrote:
Please omit the space before ( in code. I find that very
distracting. Example:
print result.Properties_ ("sValue").Value # current
print result.Properties_("sValue").Value # preferred, and how most
code I've seen lo
TimG writes:
> That's fine for two lines, but I can't change a whole script to work
> that way :) The intepreter window in PythonWin just doesn't work
> the same way as the conventional console-based one, it seems.
Yeah - it is pretty dumb. I'd love to make pythonwin smarter in this regard
thoug
> With Vista (XP works fine), when using SetValueEx in a script ran by an
> administrator I get "Access Denied". I know that's it's due to UAC so
> does someone know how to do a 'sudo' when using something else than
> CreateProcess ?
The short version of my understanding of Vista and UAC: Firstly
Thanks to everyone who's replied and commented onlist and in private mail.
Hopefully within the next few days I'll have completed at least one more section
of the docs and I'll announce the project more formally on c.l.py etc.
Please feel free to continue to comment and to contribute ideas and su
Very nice, however you might want to fix the code samples to be properly
indented instead of collapsed whitespace..
regards,
Simon
On Tue, May 27, 2008 at 6:47 PM, Tim Golden <[EMAIL PROTECTED]> wrote:
> Thanks to everyone who's replied and commented onlist and in private mail.
> Hopefully withi
bob gailer wrote:
Mark Hammond wrote:
In general, I *try* and stick to the Python Style Guide
(http://www.python.org/dev/peps/pep-0008/)
Interesting. I don't like the idea of 2 spaces after a period.
Internet research on this topic seems to favor one space.
I'm not sure where you got that.
Simon Dahlbacka wrote:
Very nice, however you might want to fix the code samples to be properly
indented instead of collapsed whitespace..
Can you point me towards an example?
TJG
___
python-win32 mailing list
python-win32@python.org
http://mail.pyth
Tim Golden wrote:
Mike
Driscoll wrote:
Tim Golden wrote:
Yes, I tried that to see what you meant. I'm not sure there's
much I'm going to be able to do about that, unless someone
jumps in with a solution. My main point about the examples is
that they're self-contained. (ie you don't need to prea
Whenever I try the following:
>> import win32com.client
>> ie = win32com.client.Dispatch("InternetExplorer.Application")
I get this traceback:
Traceback (most recent call last):
File "", line 1, in
File "C:\Python25\Lib\site-packages\win32com\client\__init__.py", line
95, in Dispatch
di
Rickey, Kyle W wrote:
Whenever I try the following:
import win32com.client
ie = win32com.client.Dispatch("InternetExplorer.Application")
I get this traceback:
Traceback (most recent call last):
File "", line 1, in
File "C:\Python25\Lib\site-packages\win32com\client\__init__.py", line
95
Tim, thanks for your response. I realize where I've got this messed up.
I had turned off Windows File Protection for
C:\Program Files\Internet Explorer
So that I could replace internet explorer with my own executable that
calls firefox :) The reason for this is some of our proprietary software
is
Thanks so much for trying this out. You've verified that it's possible
to get this working.
However, when I execute the same code, the file "p2.csv" is exactly same
size as p1.mpp and contains binary data, not the text. Since you have
it working it must be a bug in either my version of MSPro
Tim Roberts wrote:
bob gailer wrote:
Mark Hammond wrote:
In general, I *try* and stick to the Python Style Guide
(http://www.python.org/dev/peps/pep-0008/)
Interesting. I don't like the idea of 2 spaces after a period.
Internet research on this topic seems to favor one space.
I'm not sure
16 matches
Mail list logo