Because both LocalService and NetworkService have minimal privileges on the
local computer, while LocalSystem, admin, and guest have more extensive
privileges.
From: python-win32
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Tore Klars
Sent: Thursday, October
Count from zero?
Via Blackberry
- Original Message -
From: Mark Lawrence [mailto:breamore...@yahoo.co.uk]
Sent: Friday, February 10, 2012 09:17 PM
To: python-win32@python.org
Subject: [python-win32] Editor find and replace can't count - off by one
error
Hi all,
I assume that
Sure there is, autologon!
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Tim Roberts
Sent: Thursday, December 02, 2010 3:03 PM
To: Python-Win32 List
Subject: Re: [python-wi
Python-Win32...
As in win32
As in windows...
:-)
- Original Message -
From: python-win32-bounces+rdahlstrom=directedge@python.org
Cc: python-win32@python.org
Sent: Fri Aug 06 18:34:55 2010
Subject: Re: [python-win32] fast test if (unknown) process is running ? Why not
use Autoi
What version of Word?
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Axel Rousseau
Sent: Wednesday, June 23, 2010 4:20 AM
To: python-win32@python.org
Subject: [python-win32] how to disable word macro
You could tail the log file...
From: python-win32-bounces+rdahlstrom=directedge@python.org
To: t...@probo.com ; python-win32@python.org
Sent: Tue Jun 15 18:33:41 2010
Subject: Re: [python-win32] Python Hooks Navigation Logger Windows
On 6/14/2010 8:14 PM
>> -Original Message-
>> From: python-win32-bounces+rdahlstrom=directedge@python.org
>> [mailto:python-win32-
>> bounces+rdahlstrom=directedge@python.org] On Behalf Of Tim Roberts
>> Sent: Wednesday, February 17, 2010 5:43 PM
>> To: python-win32@python.org
>> Subject: Re: [python-w
Ping it and get the address.
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Dave Angel
Sent: Thursday, August 27, 2009 4:52 AM
To: Python-Win32 List
Subject: [python-win32]
Additionally, your csv file is *not* being auto-corrected. If this file is
supposed to be able to be imported into things *other* than Excel, leave it
alone and do not put an equals in front of it. If you were to open your file
in Notepad or some other text editor, you'd see the value as you e
Or if it were something that you were doing while RDP’d in, you could just
select the window, hit alt-space, select move, then use the cursor keys to
place the app where you want it. Or use restore first if it’s in a maximized
state. I’m not sure that this is something that even requires pytho
Possibly 64 bit python is installed instead of 32 bit python? If you install
32 bit python, you'll have your libraries.
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Tim
It would be much easier for us to help if we could see your code, and the error
you receive when you try to run it.
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
ve
That would be Python.
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Te-jé Rodgers
Sent: Friday, February 20, 2009 6:20 PM
To: python-win32@python.org
Subject: Re: [python-
Tried it in a few versions on a couple computers, and was unable to reproduce.
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Mark Tolonen
Sent: Friday, January 30, 2009 9:
If you open it in another thread, will it die upon the thread dying?
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Gary Scorby
Sent: Tuesday, January 20, 2009 5:37 P
python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Tim Roberts
Sent: Friday, December 12, 2008 1:24 PM
To: Python-Win32 List
Subject: Re: [python-win32] Writing to Excel performance
Dahlstrom, Roger wrote:
> Couple of tricks I've used with some success...
Couple of tricks I've used with some success...
1. If this is data only, and not formulas, you can write the data as an html
table, but name the file something.xls - Excel will open it natively.
2. If you need special formatting or formulas, you can write the data as
Excel's HTML templates (ma
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts
Sent: Friday, December 05, 2008 5:30 PM
To: Python-Win32 List
Subject: Re: [python-win32] Walking the registry and creating reg files
Dahlstrom, Roger wrote:
> I think my mistake was assuming tha
x27;
Subject: Re: [python-win32] Walking the registry and creating reg files
Dahlstrom, Roger wrote:
> Well, like I said, I've never done it in Python, and this is going back a
> bit, so some things might be different, but I'm not talking about RegSaveKey
> or RegRestoreKey, I'
permissions for that.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts
Sent: Friday, December 05, 2008 1:20 PM
To: Python-Win32 List
Subject: Re: [python-win32] Walking the registry and creating reg files
Dahlstrom, Roger wrote:
> ... Basically
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts
Sent: Friday, December 05, 2008 12:44 PM
To: Python-Win32 List
Subject: Re: [python-win32] Walking the registry and creating reg files
Dahlstrom, Roger wrote:
> If you can read the registry, you can save it without any other special
> per
If you can read the registry, you can save it without any other special
permissions. It is just text.
Just export a branch of your own registry and open it with notepad to see the
format. I do it all the time, it works fine.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL P
If you didn't get the answer already, you need to call pythoncom.CoInitialize()
prior to the code that is throwing an error,
probably put it right after init.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Monday, September 29, 2
That seems like a roundabout way to send an email.
def sendEmail(toe, frome, subject, body):
import smtplib
headers = "From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n" % (frome, toe,
subject)
message = headers + body
mailsvr = "MyMailServer"
mailServer = smtplib.SMTP(mailsvr)
m
I copied and pasted your code (except for removing the line break in your line
2) and it worked fine for me.
import win32com.client
o = win32com.client.Dispatch("Excel.Application")
o.Visible = 1
o.Workbooks.Add()
o.Cells(1,1).Value = "Hello"
This produced a visible Excel window, with Book1 vi
Notepad++
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lynton Grice
Sent: Wednesday, July 23, 2008 11:38 AM
To: python-win32@python.org
Subject: [python-win32] FW: MSMQ - cannotcatchCOM_ERROR
with"pythoncom.com_error"
Hey Tim,
Wow, you are 100% cor
Well *I* used to line up rocks in to ones and zeros. Then I had a toucan that
would interpret them, and chisel the gui on to a stone tablet. I still remember
how upset everyone was when we introduced papyrus.
___
python-win32 mailing list
python-win32@
-Original Message-
From: Paul Moore [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 7:23 AM
To: Dahlstrom, Roger
Cc: Python-Win32 List; [EMAIL PROTECTED]
Subject: Re: [python-win32] How to get all the variables in a python shell
On 29/05/2008, Dahlstrom, Roger <[EMAIL PROTEC
-Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden
> Sent: Thursday, May 29, 2008 4:11 AM
> To: Python-Win32 List; [EMAIL PROTECTED]
> Cc: Python-Win32 List
> Subject: Re: [python-win32] How to get all the variables in a python shell
>
> [EMAIL P
I think there are perhaps billions of people who get down on their knees every
day and pray to whatever god they believe in that they had such problems as a
space between a function name and a parenthesis. For crying out loud, it's a
simple search/replace at *worst* to change this to be however
Ha - you'd hate my code then. I like a lot of spaces, makes it easier for me
to keep the blocks seperated.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden
Sent: Saturday, May 24, 2008 4:28 AM
Cc: Python-Win32 List
Subject: Re: [python-win32]
I'd add to that that I prefer the space, and I only use notepad++ for coding.
Everything worked fine for me.
My only suggestion was that the navigation was a bit inconsistent on the front
page - I had to scroll down to see what the "contents" were - the "registry"
section was hidden at first.
only way I know how to do it is
import os
out = os.popen("dir SomethingThatDoesntExist")
print out
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rickey, Kyle W
Sent: Friday, May 16, 2008 11:36 AM
To: python-win32@python.org
Subject: [python-win
One would hope that there is no way to accomplish what you are looking to do.
The user could, however, turn off their security, or register your app to run as
administrator.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of le dahut
Sent: Tuesday, May 06,
My quantum printer prints both at the same time, but every time I try to tell
which is which, it changes the outcome.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts
Sent: Thursday, May 01, 2008 1:38 PM
To: Python-Win32 List
Subject: Re: [pyt
I might be greatly misinterpreting what you're trying to do here, but
RegisterDragDrop registers a window, not a com object. The drop target
instance would be
associating the target with that particular window. Have you checked out
wxDropTarget?
From: [EMAIL
You have to walk the directory tree and sum each file's size. Windows does
this too - try your right-click properties on a large directory and see how
long it
takes. That's also what du does. There are, however, some recipes that should
make this fairly simple for you - try this:
http://asp
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden
Sent: Monday, April 14, 2008 3:10 PM
Cc: Python-Win32 List
Subject: Re: [python-win32] IsHungAppWindow or equivalent
Dahlstrom, Roger wrote:
> Yeah - I see the MSDN page and the HWND parame
Dahlstrom, Roger wrote:
> My questions are:
> 1. Are there any win32 Python extensions that expose this? If so,
> which ones?
I doubt it; it's not available prior to Windows 2000, and MSDN says they
might decide to change it later.
> 2. If there are not extensions, does
I am trying to determine whether an application is reporting "Not Responding"
(like what the task manager shows). I'm not married to the IsHungAppWindow
method, it was just suggested to me, and seemed like the right path to go down.
My questions are:
1. Are there any win32 Python extensions t
40 matches
Mail list logo