[python-win32] stat fields seem wrong when accessing files over SMB on Windows

2023-06-01 Thread Jason Bowen
Hey Python on Windows folks, I just wanted to send this as a heads up about what seems to be a bug I've run into with newer pre-GA releases of Python 3.12 (cf. 3.12a7 and 3.12b1). I've filed an issue on the CPython repo: https://github.com/python/cpython/issues/105212 The gist is that up t

Re: [python-win32] python-win32 Digest, Vol 100, Issue 14

2011-07-13 Thread Jason Veldicott
> > You can reach the person managing the list at >python-win32-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of python-win32 digest..." > > > Today's Topics: > > 1. Calling E

[python-win32] Calling Excel function GetSaveAsFilename, parameter ignored

2011-07-12 Thread Jason Veldicott
g, FilterIndex=defaultNamedOptArg, Title=defaultNamedOptArg , ButtonText=defaultNamedOptArg): return self._ApplyTypes_(1076, 1, (12, 0), ((12, 17), (12, 17), (12, 17), (12, 17), (12, 17)), u'GetSaveAsFilename', None,InitialFilename , FileFilter, FilterIndex, Title, ButtonText) At the moment, develop

Re: [python-win32] Why can I compile a C extension if I replace python25.lib with python25.dll?

2009-08-07 Thread Jason Baker
On Fri, Aug 7, 2009 at 11:40 AM, Tim Roberts wrote: > Jason Baker wrote: >> I've been trying to get Storm's C extensions to compile under windows. >>  For some reason, it wasn't able to find python25.dll, even if I paste >> it directly under libs or DLLs

[python-win32] Why can I compile a C extension if I replace python25.lib with python25.dll?

2009-08-07 Thread Jason Baker
I've been trying to get Storm's C extensions to compile under windows. For some reason, it wasn't able to find python25.dll, even if I paste it directly under libs or DLLs. My theory was that it was finding python25.lib (which I'm guessing is a static library) and trying to use that instead. If

[python-win32] Restarting Python interpreter used by Classic ASP?

2009-04-17 Thread Jason Baker
r, I don't really seem to be able to find any way to do this without restarting all of IIS. Is there any way to do what I want to do? Jason ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] LVM_GETITEMPOSITION

2009-02-06 Thread Jason Hilton
Okay, so I am new to python win32 development and I am trying to find the location of icons on the desktop. I understand that the desktop is just a listview control so theoretically I should be able to use this code- from commctrl import * from win32gui import * from ctypes import * class POINT

Re: [python-win32] how to best use datetime objects in pywin32?

2009-01-13 Thread Jason R. Coombs
rbose. In > my ideal world, little typing should be required to do common things. > I would like to see something like: > > >>>herenow = datetime.datetime.now(timezone.local) > >>>gmt = datetime.datetime.now(timezone.utc) I assume you meant "gmt = datetime.datetime.u

Re: [python-win32] win32com array handling bug?

2007-07-13 Thread Jason Ferrara
If I make the following change to oleargs.cpp --- oleargs.cpp.orig2007-07-13 11:21:30.711416000 -0400 +++ oleargs.cpp 2007-07-13 11:22:46.764499200 -0400 @@ -834,6 +834,16 @@ if (FAILED(hres)) return PyCom_BuildPyException(hres); long

Re: [python-win32] issues with win32com constants and static/dynamicdispatch

2007-07-04 Thread Jason Ferrara
(c.QueryInterface (pythoncom.IID_IDispatch)) I think we could also argue this is a bug in win32com - it should try and QI any IUnknown objects - but changing this might break existing code... Mark -Original Message- From: [EMAIL PROTECTED] [mailto:python-win32- [EMAIL PROTECTED] Beh

Re: [python-win32] win32com array handling bug?

2007-07-04 Thread Jason Ferrara
On Jul 4, 2007, at 7:12 PM, Mark Hammond wrote: > >> >> At this point f should be a 2048 by 1536 array of bytes, but >> instead... >> > len(f) >> 2048 > type(f) >> > > Arrays of type VT_UI1 are returned as buffers. You should find the > length > of f is 1536, and you can treat it as

[python-win32] win32com array handling bug?

2007-07-04 Thread Jason Ferrara
I'm making a COM call that should return a two dimensional array, but instead I get back a buffer that appears to only contain a single row from the array. Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" f

[python-win32] issues with win32com constants and static/dynamic dispatch

2007-07-04 Thread Jason Ferrara
I'm trying to use a COM library from python. If I use dynamic dispatch, the com objects all behave correctly, but the constants defined in the COM library don't show up. If I use static dispatch, the constants show up, but COM objects returned by calls into the COM library seem broken. As

Re: [python-win32] issues with win32com constants and static/dynamic dispatch

2007-07-04 Thread Jason Ferrara
eras', '_ApplyTypes_', '__cmp__', '__doc__', ' __getattr__', '__init__', '__module__', '__repr__', '__setattr__', '_get_good_ob ject_', '_get_good_single_object_', '_oleobj_', 

Re: [python-win32] Question about printing through IE

2006-03-30 Thread Jason Robinson
  Roger,   Thanks! I'm currently fixing the program to make a pdf file instead.. but being able to program it to do the page setup stuff for IE would be easier..   Will look into that registry stuff.. need to find out how to access it first :)   -Jason   On 3/30/06, Roger Upole <[EMAIL P

[python-win32] Question about printing through IE

2006-03-23 Thread Jason Robinson
rs for any help! -- Jason Robinson[EMAIL PROTECTED]MSN: [EMAIL PROTECTED]AIM: jaywinx ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] handling paths in windows services

2005-09-09 Thread Jason
I get the following error when trying to run a python script as a service The instance's SvcRun() method failed File "win32serviceutil.pyc", line 742, in SvcRun File "winService.pyc", line 134, in SvcDoRun File "winService.pyc", line 83, in RunMe File "config.pyc", line 28, in readConfig

RE: [python-win32] ActiveX components with Events

2004-12-17 Thread Hihn, Jason
I will attempt to use my psychic powers and read into this situation more than you have told. That ActiveX is coded in VB, hence the OCX. The VB is calling form.show(). I bet (if all previous assumptiona are correct) that you could fix the subliminal message by calling form.load() I will stop no