Re: [python-win32] win32 printer

2017-11-28 Thread Bob Hood
I don't know specifically what is wrong with your script, but I wanted to chime in here and confirm that it also failed to print anything for me.  No error messages, nothing in the printer queue, and nothing printed. On 11/28/2017 10:19 AM, Richard Peeters wrote:  Hello, I'm new to Python

[python-win32] Is SHChangeNotifyRegister implemented?

2016-09-23 Thread Bob Hood
I'm using Python 2.x with pywin32 2.18. I noticed the SHChangeNotifyRegister flags in win32comext\shell\shellcon.py, but I don't find any references in any of the remaining Python files or demos that reference this function. Has it been implemented? If so, can anybody point me at an example?

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

2016-08-28 Thread Bob Hood
On 8/27/2016 12:02 PM, eryk sun wrote: On Sat, Aug 27, 2016 at 2:19 PM, Bob Hood <bho...@comcast.net> wrote: From what I can tell, it's not actually a crash. It appears to be an exit() with a result of 1, so it's not going to be easy to track down. Break on ntdll!RtlExitUserProcess to

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

2016-08-27 Thread Bob Hood
On 8/25/2016 9:36 PM, eryk sun wrote: On Fri, Aug 26, 2016 at 12:42 AM, Bob Hood <bho...@comcast.net> wrote: Any suggestions as to how I could determine the cause of the crash without having to uninstall ALL of my software? Configure a postmortem debugger [1] (e.g. windbg -I). Use

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

2016-08-25 Thread Bob Hood
I have a situation where I'm using win32com.server to create an in-process Explorer shell extension for Windows (7 64-bit). The extension itself is just a sample I pulled from stackoverflow[1]. When I install it, and restart Explorer, opening the context menu on a file causes Explorer to

Re: [python-win32] Is there a _simple_ way to find out what version of Windows you are running?

2015-10-08 Thread Bob Hood
On 10/8/2015 3:56 AM, Laura Creighton wrote: Hi, I am one of the python.org webmasters. We get people -- often children who want to install python on their computers but don't know what OS they are running. Nearly all of these people are running Windows, though I did get somebody who was

Re: [python-win32] PyParallel - an experimental multicore fork of Python 3 for Windows

2015-07-31 Thread Bob Hood
On 7/31/2015 2:14 PM, Trent Nelson wrote: Hi folks, Bit off-topic, but just wanted to let people know about an experimental proof-of-concept fork of Python 3 I've been working on for the past couple of years called PyParallel: http://pyparallel.org. It essentially gets around the GIL

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 7:48 AM, Paul Koning wrote: On Jan 19, 2015, at 7:27 AM, Bob Hood bho...@comcast.net wrote: On 1/19/2015 12:07 AM, Tim Roberts wrote: On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul alptungaz...@hotmail.com wrote: As far as i know Username + Password =(MD5/SHA) Hash

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 12:07 AM, Tim Roberts wrote: On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul alptungaz...@hotmail.com mailto:alptungaz...@hotmail.com wrote: As far as i know Username + Password =(MD5/SHA) Hash. And it is irreversible. I need the actual Username and Password to login to Servers

Re: [python-win32] Interactive Code to Script File

2014-09-16 Thread Bob Hood
Hi, DJ. On 9/16/2014 1:13 PM, DJ Webre wrote: I am trying to convert a program from interactive to script file. The program consists of the following 2 lines: import webbrowser webbrowser.open_new('http://www.google') When I run it interactively, it works but if I run it as a scrip

Re: [python-win32] Python version itself

2014-05-11 Thread Bob Hood
On 5/11/2014 2:39 PM, Jacob Kruger wrote: I have thus far been working with python 2.7, for no particular reason aside from that it's been stable/comfortable/usable from when I really got going with python, but, while think latest release version of python is something like 3.4, what are the

Re: [python-win32] context_menu.py crashing Explorer

2014-04-17 Thread Bob Hood
On 4/16/2014 7:48 PM, Mark Hammond wrote: As far as seeing the print statements, you can modify the source file to have import win32traceutil at the top, and in another console run python -m win32traceutil - the print statements from the source file should them appear in the console running

[python-win32] context_menu.py crashing Explorer

2014-04-15 Thread Bob Hood
Hi, everybody. I'm having an issue with the context_menu.py example included with pywin32 (2.18) under Python 2.7.6. I register it by running it (python context_menu.py --register), but then, when I right-click on a Python file, my Explorer process terminates. I've tried variations (some