- Original Message -
From: "Brad Tilley" <[EMAIL PROTECTED]>
To: "Roger Upole" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, January 31, 2006 8:28 PM
Subject: Re: [python-win32] Re: Extracting share permissions
> Quoting Roger Upole <[EMAIL PROTECTED]>:
>
>> [Sorry, somehow I massively screwe
On Tue, 31 Jan 2006 15:08:24 -,"Frank Peacock"
<[EMAIL PROTECTED]> wrote:
>I cannot seem to spawn a subprocess. The subprocess does not seem to be run.
>
>Attached are my two files. There is a main.py file and a subprocess.py file.
>They simpy print their names.
>
>Can anyone suggest a reason
Frank Peacock wrote:
> Hello again
>
> I need to correct the previous email. The correct main.py file is attached
> now.
>
> The interesting thing is that the naming of the python file does not change
> the result.
>
> The result always is output to the screen: "Main" and then "Exit", there is
>
[Sorry, somehow I massively screwed up the format the first time]
There are a couple of different options for persisting a security
descriptor.
buffer(security_descriptor)[:] retrieves the raw bytes in binary form.
This can be passed to pywintypes.SECURITY_DESCRIPTOR to recreate the
PySECURITY_D
>> Mark, would you write an example of this using SHARE_INFO_502?>>I'm
>> afraid I don't have the time to do it all.>>As a clue:> import
>> pprint pprint.pprint(win32net.NetShareEnum(None,
>> 502))>([{'current_uses': 0,> 'max_uses': -1,> 'netname': u'IPC$',>
>> 'passwd': None,> '
> Mark, would you write an example of this using SHARE_INFO_502?
I'm afraid I don't have the time to do it all.
As a clue:
>>> import pprint
>>> pprint.pprint(win32net.NetShareEnum(None, 502))
([{'current_uses': 0,
'max_uses': -1,
'netname': u'IPC$',
'passwd': None,
'path': u'',
'
Hello
I cannot seem to spawn a subprocess. The subprocess
does not seem to be run.
Attached are my two files. There is a main.py file
and a subprocess.py file. They simpy print their names.
Can anyone suggest a reason?
Thank you
Frank Peacock
print("subprocess")
# Main script
import os
Hello again
I need to correct the previous email. The correct main.py file is attached
now.
The interesting thing is that the naming of the python file does not change
the result.
The result always is output to the screen: "Main" and then "Exit", there is
no "subprocess" outputted.
# Main script
On Tue, 31 Jan 2006 10:32:59 +0100, Anders Quist <[EMAIL PROTECTED]> wrote:
>I have an application that wants to print a large set of documents.
>Therefore, I want to have word display its print dialog so the user
>can supply printer settings once, that I can read and store for use
>with all follo
I have the following code:class SynchronousProxy: _reg_progid_ = 'KukaburraCom.SynchronousProxy' _reg_clsid_ = '{138FA88E-635D-4470-97A8-A9FF43F8E23D}' _public_methods_ = ['connect', 'poll', 'get_rooms']
def connect(self, host, port): pass # real code here def poll(self, idnum):
Quoting Mark Hammond <[EMAIL PROTECTED]>:
> It looks as though the SHARE_INFO_502 supports this via the
> sh502_security_descriptor attribute. Presumably this can be used with
> NetShareGetInfo and NetShareSetInfo.
>
> Mark.
Mark, would you write an example of this using SHARE_INFO_502? I'm not
Anders Quist wrote:
> I have an application that wants to print a large set of documents.
> Therefore, I want to have word display its print dialog so the user
> can supply printer settings once, that I can read and store for use
> with all following prints.
>
> At first glance, this would seem str
I have an application that wants to print a large set of documents.
Therefore, I want to have word display its print dialog so the user
can supply printer settings once, that I can read and store for use
with all following prints.
At first glance, this would seem straight-forward; VBA like so:
13 matches
Mail list logo