[python-win32] pythonservice.exe registration failed used by another process

2024-04-25 Thread Jacob Nolan via python-win32
Hi all, I've been having a reoccurring error across multiple windows installs and python versions (3.9.*-3.11.*) when performing an install of a python windows service. This is the result of calling *python service_config.py install *on 3.9.5 The error is: |*copying host exe 'E

[python-win32] Dispatch vs EnsureDispatch performance

2024-04-17 Thread Sven Bardos via python-win32
me ellapsed (early): {end - start}s") EnsureDispatch is a little bit slower ~4.2s compared to ~4.0s. If I don't get a performance boost with EnsureDispatch, is there even a point using it? Thanks, Sven _______ python-win32 mailing list python-win32@python.org https:/

[python-win32] __getattr__ Error

2024-03-17 Thread Jannis via python-win32
lation of the client? Or am I looking in the wrong direction? Thank you & Best Regards ioannis ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] PythonService was unable to locate the service manager

2024-01-18 Thread Jacob Nolan via python-win32
E: is just a local harddrive. The full python install and files under the E: drive is accessible for both the local SYSTEM user, my user and administrator. It is configured to run as the Local System Account. I am successfully able to install the service initially via admin command prompt

Re: [python-win32] PythonService was unable to locate the service manager

2024-01-12 Thread Jacob Nolan via python-win32
at security permissions for pythonservice.exe in the root python directory. SYSTEM and Admin users have full control. *Jacob Nolan* *Gayner Technical Services* Phone: 0437210168 Email: j...@gaynertechnicalservices.com.au On 1/12/24 01:19, Mark Hammond wrote: The "" part sounds like it

[python-win32] PythonService was unable to locate the service manager

2024-01-11 Thread Jacob Nolan via python-win32
the event log for details.** * Here is the output from event viewer application log: |The description for Event ID 14 from source Python Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install

[python-win32] VB6 Listbox methods fail through ROT

2023-10-04 Thread dzzie via python-win32
tObject("PyComTest.List1") List1.AddItem "* VBS SAYS HELLO ***" Currently using a vb6 standard exe manually adding objects to the ROT, and python 311 exe to run the scripts externally. I have not yet tried with a vb6 active

Re: [python-win32] AddObject from C

2023-09-19 Thread dzzie via python-win32
LCase(StringFromPointer(buf))     Set o = SharedObjects(key)          If Not o Is Nothing Then     HostResolver = ObjPtr(o)     Else     HostResolver = 0     End If   End Function _______ python-win32 mailing list python-win32@python.org https:/

[python-win32] AddObject from C

2023-09-19 Thread dzzie via python-win32
features. Right now I can createobject() and getobject() in python using the new namespaces. Experimenting with using this for app automation similar to the microsoft script control and its addobject functionality. Bringing the COM code into my helper dll to see if I can get around not being able

Re: [python-win32] Python Active Scripting Error - should I ignore it?

2023-06-29 Thread Wuping Xin via python-win32
OK, I think this is a bug of pywin32, Line 37 of \win32comext\axdebug\documents.py, class DebugDocumentText( gateways.DebugDocumentInfo, gateways.DebugDocumentText, gateways.DebugDocument gateway.DebugDocumentText already inherits from gateway.DebugDocument. This would cause Python

[python-win32] Python Active Scripting Error - should I ignore it?

2023-06-29 Thread Wuping Xin via python-win32
When I running a Python Active Script, DebugView captured the following errrors - any advice? [22076] File "C:\Users\.\AppData\Local\Programs\Python\Python39\lib\site-packages\win32comext\axscript\client\framework.py", line 729, in SetScriptSite [22076] from . import de

Re: [python-win32] Setting Focus Assist Mode via COM

2023-06-01 Thread name zero via python-win32
nd consume that via ctypes, or come up with some wrapper objects you expose via a new Python extension DLL. If you're really determined, you could add pywin32 style support for the interfaces in a new DLL without too much grief. (But it is a fairly tedious process and would probably involve lea

Re: [python-win32] Setting Focus Assist Mode via COM

2023-05-31 Thread name zero via python-win32
he PC you are trying to create the automation from, because “Class not Registered” isn’t a python error, and it talks more directly to the fact that the appropriate class from the software you are trying to automate isn’t on the computer you are running python from: so either you have the wrong

[python-win32] Setting Focus Assist Mode via COM

2023-05-29 Thread name zero via python-win32
=pythoncom.CLSCTX_LOCAL_SERVER) fails with "pywintypes.com_error: (-2147221164, 'Class not registered', None, None)" Thank you and best regards! _______ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com, server/policy.py bug? policy.py Line 639

2023-04-17 Thread Wuping Xin via python-win32
I created a new issue (with sample Delphi project to replicate the issue, including the Python source file where the COM server is defined): https://github.com/mhammond/pywin32/issues/2043 And I submit a PR: https://github.com/mhammond/pywin32/pull/2044 Thank you. Wuping -- Original

Re: [python-win32] win32com, server/policy.py bug? policy.py Line 639

2023-04-17 Thread Wuping Xin via python-win32
Thanks. I'll submit a PR. When calling from a Delphi COM client (using OleVariant ), arg[0] will be set by Delphi a value of 0x8002000C, when the target Python method has NO argument (i.e., taking only "self"). This makes args non-empty. When calling from a C++ MFC/COM cli

Re: [python-win32] win32com, server/policy.py bug? policy.py Line 639

2023-04-16 Thread Wuping Xin via python-win32
) Then we can make VBA, Delphi, C++ all clients happy. Agree? Should I submit a pull request? Wuping -- Original Message -- From "Wuping Xin" mailto:wup...@caliper.com>> To "Mark Hammond" mailto:mhamm...@skippinet.com.au>> Cc "Python-win32@pyth

[python-win32] win32com, server/policy.py bug? policy.py Line 639

2023-04-16 Thread Wuping Xin via python-win32
rgs[0] == None): return func() else: return func(*args) ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32api.pyd will be block by smart app control in win11

2023-04-15 Thread Antoine FERRON via python-win32
). _ Antoine FERRON Président — BitLogiK bitlogik.fr (https://bitlogik.fr) — PGP Key ID#22F95B31 (https://keys.openpgp.org/search?q=antoine.ferron%40bitlogik.fr) On Apr 14 2023, at 11:03 am, Liu Gin wrote: > > I pack my python code into exe, and run in win11 with Smart App C

[python-win32] Pywin32 Windows Service not responding

2023-03-25 Thread jeremy.farmer1206 via python-win32
import servicemanager import socket import time import os import sys class MyService(win32serviceutil.ServiceFramework): _svc_name_ = 'MyPythonService' _svc_display_name_ = 'My Python Service' _svc_description_ = 'This is a sample Python Wind def __init__(self, args

Re: [python-win32] How to enable events for Python Active Scripting?

2023-03-17 Thread Wuping Xin via python-win32
.com.au>> To "Wuping Xin" mailto:wup...@caliper.com>> Cc "Python-win32@python.org<mailto:Python-win32@python.org>" mailto:Python-win32@python.org>> Date 3/14/2023 12:47:27 AM Subject Re: [python-win32] How to enable events for Python Active Scripting? W

Re: [python-win32] How to add citations to a word document

2023-03-16 Thread Ryan Dikdan via python-win32
ng and remaking the field, but this duplicates the references I think. Yours truly, Ryan Dikdan From: Steven Manross Sent: Wednesday, March 1, 2023 6:43 PM To: Ryan Dikdan ; python-win32@python.org Subject: RE: How to add citations to a word document I'd probabl

Re: [python-win32] How to enable events for Python Active Scripting?

2023-03-13 Thread Wuping Xin via python-win32
lly create the Source/EventSink connection. Wuping -- Original Message -- From "Mark Hammond" mailto:mhamm...@skippinet.com.au>> To "Wuping Xin" mailto:wup...@caliper.com>> Cc "Python-win32@python.org<mailto:Python-win32@python.org>" mailto:Py

Re: [python-win32] How to enable events for Python Active Scripting?

2023-03-13 Thread Wuping Xin via python-win32
; mailto:mhamm...@skippinet.com.au>> To "Wuping Xin" mailto:wup...@caliper.com>> Cc "Python-win32@python.org<mailto:Python-win32@python.org>" mailto:Python-win32@python.org>> Date 3/13/2023 8:45:37 PM Subject Re: [python-win32] How to enable events for Py

Re: [python-win32] python 3.8 Alternative of py2exe for com server

2022-12-15 Thread Antoine FERRON via python-win32
any alternative to build a com server and freeze it > in python 3.8 > > regards, > Matteo > > > _______ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > __

Re: [python-win32] [EXT] [ANN] pywin32 build 305 released

2022-11-07 Thread Scorby, Gary via python-win32
The error I reported in 304 still exists in the interactive window for Python 3.11. Is this scheduled to be fixed? Create the function below. Goes bad when you try to call the function. >>> def biff(x): ... x = x + 1 ... >>> biffFailed to format the args Traceback (mos

Re: [python-win32] python-win32 Digest, Vol 232, Issue 1

2022-10-11 Thread monetclause--- via python-win32
I've had my challenges with 3.10 and stayed on 3.9, with good results. Sent from Android On Tue, Oct 11, 2022 at 11:00, python-win32-requ...@python.org wrote: Send python-win32 mailing list submissions to     python-win32@python.org To subscribe or unsubscribe via the World Wide Web

[python-win32] Hi

2022-07-06 Thread osama saadi via python-win32
Dear Sir,I am using colab and try to install pywin32.I used the following code (!pip install pywin32) but I got error. Please can you help me how to install it?Yours SincerelyOsama ___ python-win32 mailing list python-win32@python.org https

[python-win32] pywin32 in python 64bit-3.7 environment

2022-07-05 Thread De Silva, Thushara via python-win32
Hi, I am working in python 64-bit, 3.7 environment. I want to install pywin32 to conda-environment. "pip install pywin32" installed pywin32 304 to my env. But I cannot "import pywin32" from my jupyter notebook (No Module named 'pywin32'). I assumed, I have to install 64

[python-win32] Python 3.11 and pywin32 304

2022-05-11 Thread Scorby, Gary via python-win32
ts contents to any other person. This email does not constitute the commencement of legal relations between you and FINASTRA. Please refer to the executed contract between you and the relevant member of the FINASTRA group for the identity of the contracting party with which you are dealing. ____

Re: [python-win32] Unable to detect shutdown

2022-03-09 Thread Antoine FERRON via python-win32
I would recommend that you work with an object from a class, and using def __del__(self): I think when Windows shutdown, it send a stop/quit signal to all processes. When your Python is stopped by the OS, it can stop gracefully, and write the info in the file to backup, before it dies

Re: [python-win32] Clipboard Documentation

2021-12-01 Thread gw1500 via python-win32
formats.append(standard_formats[format])     else:     formats.append( win32clipboard.GetClipboardFormatName(format) )     finally:     win32clipboard.CloseClipboard()     return formats _______ python-win32 mailing list pyt

Re: [python-win32] Clipboard Documentation

2021-12-01 Thread gw1500 via python-win32
On 12/1/2021 3:07 AM, Tim Roberts wrote: On 11/30/21 7:04 AM, gw1500 via python-win32 wrote: Thanks for the reply. I read about that but was hoping to use pywin32. I can see now the folly of that decision. I have a working minimal test but am looking for something a bit more automated. I

Re: [python-win32] Clipboard Documentation

2021-11-30 Thread gw1500 via python-win32
are a pain to work with, and of course don't work at all on other systems. ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing

[python-win32] Pywin32 local variable

2021-08-12 Thread Salih KUYUMCU via python-win32
Hello dear authorized, I'm Salih from Abdullah Gül Univercity from Turkey. Now I'm tring to make a project with python and abap. I'm now using the pywin32 for com server in windows. I can send some variables to python from abap and get them. However, I have a problem with local variables. I

[python-win32] OutlookAddin.py msoControlButton Caption not working

2021-06-20 Thread Premanshu Basak via python-win32
Hi team, I tried running the python demo code "OutlookAddin.py" which comes with win32com as a demo outlook com addin. I will still share the code below. My question here is when I run, it does adds a addin button on my Outlook 2016. However there is no Caption on it. I will have to

[python-win32] Opening existing memory mapped files with pywin32

2021-02-16 Thread rhyslloyd1 via python-win32
Hello. Sorry if this is the wrong place to ask my question. I am trying to open a memory mapped file using Python. I originally used the "mmap" module from Python however I had issues with it because I had to use a fixed size for the file even though my goal was to open an exi

[python-win32] Python installer for Windows not working on silent installation

2021-02-08 Thread Romulus G | Heimdal™ via python-win32
Hi Guys, I am trying to deploy Python (the latest version) through AD GPO or through SCCM. Since there’s no MSI Installer available on the python.org for the latest versions, I used the python-3.9.1-amd64.exe with the following command line: python-3.9.0.exe /quiet InstallAllUsers=1

Re: [python-win32] Use TPM from Crypto API

2020-11-23 Thread Antoine FERRON via python-win32
On Nov 22 2020, at 8:14 pm, Tim Roberts wrote: > On Nov 22, 2020, at 4:16 AM, Antoine FERRON via python-win32 > wrote: > > > > Can you confirm that TPM "Microsoft Platform Crypto Provider" requires > > "CNG", and pywin32 is only "CAPI" ca

[python-win32] Use TPM from Crypto API

2020-11-22 Thread Antoine FERRON via python-win32
Hello pywin32 maintainers and enthusiasts, I intend to use a TPM on Windows to generate, store and sign, through the win32 CNG API (NCryptCreatePersistedKey (https://docs.microsoft.com/en-us/windows/win32/api/ncrypt/nf-ncrypt-ncryptcreatepersistedkey) and NCryptSignHash) but within a Python

[python-win32] Getting web credentials in Win10 with pywin32

2020-08-04 Thread Mr Hat via python-win32
Hi, I just started using python on Win10 (I'm a linux native) and wanted to store and retrive web credentials like vauldcmd.exe would, but I'm hitting a wall. Maybe I'm just to stupid to understand the api, but has anyone already done this? My guess was using wincred.CredEnumerate() and than

[python-win32] pywin32 has different behavior when running from * .exe or * .py

2020-06-21 Thread andrei andrei via python-win32
I have a Python project developed by a colleague, in which pywin32  is used to control the application: CANoe from Vector. When he is running the *.py script from PyCharm (2019.2.5) everything is ok, if he used auto-py-to-exe to convert the python script to *.exe, and then he executes the *.exe

Re: [python-win32] printing hard copies

2020-02-24 Thread Aidan Carter via python-win32
Not sure if this is the appropriate place for this question, but I was wondering how one prints (hard copies, with an actual printer) PDF documents using python. For example, if I want to write a script to automatically print hard copies of pdfs saved on my computer. I have tried to search

[python-win32] Word Application saving to PDF

2019-10-08 Thread Holland, James via python-win32
I'm trying to open some rtf files to Word and then save as PDFs. I'm running Windows 10 65 bit -- Word 2016 is installed on my computer. Python 3.6.0 import os,os.path import img2pdf import win32com.client input_dir = "G:/MHOShare/MHO Staff/James Holland/TempDump/CindyTest/RTFtest"

Re: [python-win32] Retrieve Windows Notifications With pywin32

2019-06-05 Thread DAI VU via python-win32
Hi Tim, Thank you for the response. I need to deal with toast notifications. I am not sure if that answer your question. Regards,David On Sunday, June 2, 2019, 9:05:32 PM PDT, Tim Roberts wrote: On Jun 2, 2019, at 6:06 PM, DAI VU via python-win32 wrote: ]I am new to python/pywin32

[python-win32] Retrieve Windows Notifications With pywin32

2019-06-02 Thread DAI VU via python-win32
Hi Professionals, I am new to python/pywin32. I have a task to check/retrieve/click on some notifications in the "Action Center" posted by a particular windows app. Can I use python/pywin32 for this? Are there sample codes that I can take a quick look? Also, where can I find the DOC f

[python-win32] Performing ReplyAll to outlook email message

2019-03-15 Thread Ahmed Matar via python-win32
Hi, I am trying to perform a reply all to an email message that I have passed into my python script. import win32com.client __OUTLOOK = win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI") __MSG = __OUTLOOK.OpenSharedItem(sys.argv[1]) emailBody = __MSG.

[python-win32] How to obtain printer HANDLE as int in Python

2018-12-10 Thread paolo bonatti via python-win32
Hi all I'm trying to print PDF documents with pdfix sdk utilizing win32print. This PDF library requires printer HANDLE value as int directly not as a PyObject.  Is there any way to obtain printer HANDLE value in Python code?(attached is a sample) Thanks Paoloimport os import win32print, win32ui

[python-win32] makepy Promlem? pywintypes.com_error: (-2147352573, 'Member not found.', None, None)

2018-10-15 Thread Bloder, Ludwig AVL/AT via python-win32
I have defined an MS COM interface which I want to access from within Python. I therefore have created a wrapper using the 'makepy' utility that come along with the win32com package. [ object, dual, ... ] interface IPuma7ScriptContextEx : IDispatch { : [id(21), helpstring("m

[python-win32] wincom32.client problem?

2018-10-02 Thread mastro59 via python-win32
I ahve been trying to communicate with an Instrument GUI using python and a COM Object. This is quite simple using wincom32, but somethind with this client required additional extension not needed in other lunguages. I wander id someone here has experience and can explain how to solve this.in VBS

Re: [python-win32] COM: control menu bar

2018-09-30 Thread Emre CETIN via python-win32
nted: Edit | Select All. It provided me with the following line: WM_COMMAND wNotifyCode:0 (sent from a menu) wID:57642. How can I use this class ID (57642) in Python to act as if it was clicked/pressed? E m r e On Saturday, September 29, 2018, 1:55:37 AM GMT+3, James Scholes wrote: Emre

Re: [python-win32] COM: control menu bar

2018-09-28 Thread Emre CETIN via python-win32
d. E m r e On Tuesday, September 25, 2018, 5:40:49 PM GMT+3, Emre CETIN via python-win32 wrote: Hello Simon. Thank you for your response. I had read of pywinauto but hadn't used it before. After your advise i have been working on it for hours. But unfortunately i can not get the men

Re: [python-win32] COM: control menu bar

2018-09-25 Thread Emre CETIN via python-win32
still stuck :/ E m r e On Tuesday, September 25, 2018, 1:33:01 AM GMT+3, Simon McConnell wrote: I haven't used it myself but I believe this is what pywinauto does:  http://pywinauto.github.io On Tue, 25 Sep 2018 at 02:04 Emre CETIN via python-win32 wrote: Hi, I am writing a script

[python-win32] COM: control menu bar

2018-09-24 Thread Emre CETIN via python-win32
Hi, I am writing a script to automate a program named Golden Software Surfer. I am using import win32com.client in Python during this process. At one point though i can not get past a certain step of my code. The reason is because Surfer's automation utility (Scipter) does not allow that part

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
ng for all your help! Best regards, E m r e On Tuesday, May 22, 2018, 11:21:35 PM GMT+3, Emre CETIN <e.ce...@yahoo.com> wrote: Hi again, I solved the unexpected error I just posted by following this link: https://mail.python.org/pipermail/python-list/2008-July/509467.html There

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
Hi again, I solved the unexpected error I just posted by following this link: https://mail.python.org/pipermail/python-list/2008-July/509467.html There is said to: "Just in case, could you delete the contents of your gen_py directory (probably in %TEMP%\gen_py)"That did it. Now I was ab

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
ribute 'CLSIDToClassMap' Any idea of what this is and how to solve it? E m r e On Tuesday, May 22, 2018, 8:14:34 PM GMT+3, Tim Roberts <t...@probo.com> wrote: Emre CETIN via python-win32 wrote: > Hi, I've been looking for a solution to this question for some time > now. Hop

[python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
Hi, I've been looking for a solution to this question for some time now. Hopefully you could help me out. There's a program (Golden Software Surfer) that I have successfully automated using Python COM. I normally am able to control every portion I need. The part I have trouble accessing

Re: [python-win32] pythonservice.exe doesn't register

2017-11-05 Thread Pavel Bychikhin via python-win32
I wrote a simple service and it works. Registration doesn't seem to be needed. Sorry for silly question Best regards, Pavel Bychikhin Original Message *Subject: *pythonservice.exe doesn't register *From: *Pavel Bychikhin <pbychik...@yahoo.com> *To: *python-win32@pyth

[python-win32] pythonservice.exe doesn't register

2017-11-05 Thread Pavel Bychikhin via python-win32
Dear Community, I'm trying to register pythonservice.exe as it's said in the PyWin32 documentation, but getting errors: C:\Program Files\Python35\Lib\site-packages\win32>pythonservice.exe /register Registering the Python Service Manager... Registration failed as sys.winver is not availa

[python-win32] Sometimes, oleobj is returned instead of dispobj

2017-07-23 Thread Ivan Pozdeev via python-win32
's no earthy need to do so that I can see, maybe a fix is in order? | -- Regards, Ivan _______ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] File monitoring additional information user, process and PID

2016-12-02 Thread colin brice via python-win32
appreciated  Thanks!Col___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com.server failure: Is debugging possible?

2016-08-27 Thread Zachary Turner via python-win32
Have you tried using PTVS and attaching to process with the Python debug engine enabled? Then you can set a breakpoint in managed code and look for calls to sys.exit On Sat, Aug 27, 2016 at 7:23 AM Bob Hood <bho...@comcast.net> wrote: > On 8/25/2016 9:36 PM, eryk sun wrote: > >

Re: [python-win32] Python in Visual Studio

2016-04-16 Thread Zachary Turner via python-win32
The debugger is good too. I don't know of any other tool that lets you seamlessly step between Python and native code when debugging a program which embeds Python On Sat, Apr 16, 2016 at 5:23 PM Alexander Walters <tritium-l...@sdamon.com> wrote: > As a total aside, PTVS (part of the bas

[python-win32] Python in Visual Studio

2016-04-16 Thread Mark Lawrence via python-win32
For anybody who might be interested this is a podcast featuring Steve Dower from Microsoft https://talkpython.fm/episodes/show/53/python-in-visual-studio -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

[python-win32] pywintypes.com_error- no data source was provided when sending outlook attachment

2016-03-20 Thread Joe via python-win32
Hello,Iam trying to send an email through outlook 2010 on a win 7 64 bit oswith python 2.7 32 bit and win32com 32 bit. I am using the same codeexample found in many Google search results. This chunk of code willrun fine if I rem out the attachment, but once I try adding theattachment, I get

[python-win32] Problem: methods defined in type library's base class are not accessible in inherited class objects of the type library

2016-02-18 Thread Indranil Sinharoy via python-win32
Hi all, I am a relatively new user of pywin32 package, but not Python. I have an application (written in C/#, as I understand) that provides a COM interface for using with other languages such as Python. I am using the pywin32 library to communicate with the application and it works fairly

Re: [python-win32] Figuring out why a window is losing focus

2016-02-08 Thread Zachary Turner via python-win32
It's included as part of Visual Studio. Download community edition, it should be there. On Mon, Feb 8, 2016 at 7:33 PM reckoner <recko...@gmail.com> wrote: > > Where can I safely download this Spy program you are all talking about? > > Thanks! > > > > On 2/8/2

Re: [python-win32] Building my own C extension

2015-11-04 Thread Zachary Turner via python-win32
Two questions: 1) Are you embedding this extension in your own application or do you only need to be able to load it into a stock Python distribution? 2) Is Python 3.5 out of the question? On Wed, Nov 4, 2015 at 5:10 PM Ken Brooks <k...@sparklight.com> wrote: > I have joined this list

Re: [python-win32] Windows 10

2015-10-26 Thread Zachary Turner via python-win32
ynonyms. On Sun, Oct 25, 2015 at 11:24 PM eryksun <eryk...@gmail.com> wrote: > On 10/25/15, Laura Creighton <l...@openend.se> wrote: > > > > Can I suggest a mailing list name change to reflect 64 bit windows? > > python-windows would be my suggestion > > I ag

[python-win32] PYTHON DEVELOPER with 3+ years Exp. ( Job Location : Hyderabad )

2015-09-24 Thread Apple Informatics via python-win32
Hi  We are looking for a PYTHON DEVELOPER  with  3+ years Exp. ·      Strong in Python· Django framework· Good at Rest API·  Decent communication skills· 3+ Years’ experience· Full time – Immediate Joinee            Job Location

Re: [python-win32] How to invoke Python program from Windows service?

2012-06-22 Thread python
For reference, this is the kind of pattern I use when writing Windows Services in Python: This is incredibly useful. Thank you. +1 Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] DIR reports file timestamp and size, but os.path.getctime(), os.path.getsize() raise WindowsError [Error 5] Access is denied

2012-05-21 Thread python
for the above files. Background; 64-bit Windows 7; 32-bit Python 2.7.2 Any ideas on how I can retrieve timestamps and file sizes like DIR without raising exceptions? Thank you, Malcolm ___ python-win32 mailing list python-win32@python.org http

[python-win32] Detecting user (in)activity and changing process prioritization?

2011-10-31 Thread python
the priority of a running process, or can the priority of a Windows process only be set when the process is launched? Thanks, Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com in a 64bit laptop

2011-10-30 Thread love python
Thanks for the reply. I removed the Softwares and reinstall them with 32bit again. But I have the following questions: 1. When installing xlutils1.4.1.win32, I got the following errors: couldn't create key for i) xlutils-py2.7; ii) python 2.7 xltuils-1.4.1 Then I got the error Couldn't set key

Re: [python-win32] win32com in a 64bit laptop

2011-10-30 Thread love python
I got python from: www.python.org/download and choose •Python 2.7.2 Windows Installer (Windows binary -- does not include source) It should be a good version too, right? What I did is to remove all the 64bit versions and reinstall these software systems for win32. Thanks in advance. Bill

[python-win32] win32com in a 64bit laptop

2011-10-28 Thread love python
I just got a 64bit laptop and install python 2.7.2 (Windows AMD64 / Intel 64 / X86-64 binary) and other packages. When i run the previous file, I find to import win32com.client bc the program needs to read a word document as follows: app = win32com.client.gencache.EnsureDispatch

Re: [python-win32] manipulating service action restart behavior?

2011-08-10 Thread python
Andrew, Thanks for sharing the solution! Regards, Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32print.StartDocPrinter

2011-07-11 Thread python
Anthony, Dabo (dabodev.com) is an open source GUI framework built on top of wxPython. Dabo has a very impressive report writer. Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] DVCS options for pywin32

2011-02-07 Thread python
___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread python
like to keep). Thank you, Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Win32 equivalent of VB doevents() or just use time.sleep()?

2010-11-05 Thread python
and cons of this technique vs. a strategy that proactively pumps waiting messages. Malcolm [1] http://mail.python.org/pipermail/python-win32/2005-October/003920 .html ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman

[python-win32] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread python
___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread python
Eric, The short answer (for people searching the archives) is that the cursor='@\path\to\cursor_file.cur' technique DOES work exactly as advertised ... when used in a script run outside of IDLE (I know, I know ... never test Tkinter code in IDLE!). Did you try it? Yes. Running Python 2.7 (32

Re: [python-win32] [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread python
within IDLE (Python 2.7) this syntax raises an exception. Using this technique in scripts running from the command line (outside of IDLE) works well. Malcolm References 1. http://wiki.tcl.tk/8674 ___ python-win32 mailing list python-win32@python.org http

[python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
I know there is a simple interface to the Windows messagebox interface. Is there an equivalent type of simple dialog box for showing a progressbar or progressbar-like information? Use case: I have a collection of Python command line utilties that can take up to several minutes to run

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
Tim, If you look in site-packages\pythonwin\pywin\Demos, you'll find progressbar.py. This is a Python wrapper around the MFC CProgressCtrl class. You might be able to adapt that to do what you need, although I'm not sure MFC is any lighter weight than Tkinter. I'm already using the Python

Re: [python-win32] Simple Windows progressbar dialog (like messagebox) via Win32 API?

2010-09-30 Thread python
Tony, Try Easy Dialogs http://www.averdevelopment.com/python/EasyDialogs.html It has a progress bar. Easy Dialogs just wraps the native OS calls, and makes them sensible cross platform. Using a progress bar is only a few lines of code. Thanks for this recommendation. This looks like

[python-win32] DDE Server Poke

2010-09-08 Thread jon vs. python
or sample code on how to implement DDE Poke ? Thanks, Jon. (*) Based on http://www.google.com/codesearch/p?hl=es#OAMlx_jo-ck/tools/third_party/python_26/Lib/site-packages/win32/Demos/dde/ddeserver.pyq=dde%20lang:pythonsa=Ncd=1ct=rc ___ python-win32

[python-win32] Possible to update exe file properties and/or icon via the win32api library?

2010-07-26 Thread python
an exe's file properties using an external resource file? Or would I be better off finding a Windows utility that might allow me to script exe resource file updates? Thank you, Malcolm ___ python-win32 mailing list python-win32@python.org http

[python-win32] Creating a list of stress tests for unit tests involving files

2010-06-09 Thread python
' ) UNITTEST_UNICODE_PATH= ur'\xunicode_test_\xb0_\xb1_' Thank you, Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] ide for python 3.x

2010-05-17 Thread python
Vineet, Till now, I have been programming with VFP MySQL. Check out dabodev.org. Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Detect OS shutdown or user logout

2010-04-26 Thread python
Any suggestions on how I can have a Python script detect when its operating system is shutting down or a user is logging out? The script in question is a local web server (based on CherryPy). Thank you, Malcolm ___ python-win32 mailing list python

Re: [python-win32] MAPI with win32com

2010-03-22 Thread python
Werner, I'm not sure I understand the benefit of being locked into the proprietary and awkward MAPI protocol? Why can't you use industry standard SMTP to send your messages? Simpler and more portable. Malcolm - Original message - From: Werner F. Bruhin werner.bru...@free.fr To: python

[python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread python
Is there a Windows API call I can use to display a BMP or a PNG file in a window centered on a user's display? This function would be called from a console app to display a splash screen. Motivation: I would like some of our customer facing Python console utilities to display a splash screen. I

Re: [python-win32] Win API call to display a BMP/PNG file as a splash screen for a console app?

2010-03-22 Thread python
like a splash screen. Regards, Malcolm - Original message - From: Tony Cappellini cappy2...@gmail.com To: python-win32@python.org Cc: pyt...@bdurham.com Date: Mon, 22 Mar 2010 15:47:47 -0700 Subject: Re:Win API call to display a BMP/PNG file as a splash screen for a console app? From: [1

Re: [python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread python
too stupid or too obvious to warrant further conversation :) Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Python Windows Socket problem after Py2exe and install

2010-03-13 Thread python
, Malcolm ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Technique to limit number of instances of our application under Terminal Server

2010-03-12 Thread python
Greg, Very clever! Thank you, Malcolm - Original message - From: Greg Ewing greg.ew...@canterbury.ac.nz To: zz Python Win32 Newsgroup python-win32@python.org Date: Sat, 13 Mar 2010 00:15:19 +1300 Subject: Re: [python-win32] Technique to limit number of instances of our application

Re: [python-win32] Technique to limit number of instances of our application under Terminal Server

2010-03-12 Thread python
or not, eg. they consistently get released when a process terminates abnormally. - Original message - From: Mark Hammond skippy.hamm...@gmail.com To: pyt...@bdurham.com Cc: Tim Golden m...@timgolden.me.uk, zz Python Win32 Newsgroup python-win32@python.org Date: Thu, 11 Mar 2010 12:52:43 +1100

  1   2   >