GetModuleFileName retrieves module names for the current process only.
You can use GetModuleFileNameEx for other processes.
Pass 0 for the module handle to get the main executable.
Roger
___
python-win32 mailing list
[email protected]
Try opening the file in binary mode. In text mode,
all the cr/lf's get automatically translated to '\n'.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
Elan Ruskin wrote:
Hello, I've run into some trouble with the pywin32 WMI interface that
seems to be due to unicode translation.
I'm trying to read system environment variables using Microsoft's own
example here:
http://www.microsoft.com/technet/scriptcenter/scripts/python/desktop/exp
lorer/dmex
Mike Driscoll wrote:
Hi all,
I am in need of a way to get a printer's port with Python. I can get the
name of a printer and the comments field (I think) using
win32print.EnumPrinters(), but that's as close as I can get. Most of the
printers in my organization are networked through Linux CUPS.
bob gailer wrote:
Is there a way to have the watch window either stay open or open each
time I start debugging? As it is now I have to open it each time. I seem
to recall in the dim past that it would open automatically. Build 212
Python 2.5 Win 2003 Server.
Whoops, I think I accidentally r
You can use struct.pack to create a buffer containing
a DROPFILES struct:
"""
typedef struct _DROPFILES {
DWORD pFiles;
POINT pt;
BOOL fNC;
BOOL fWide; } DROPFILES, *LPDROPFILES;
"""
fn
mir amicitas" wrote:
Thank you for you help, that works perfectly. I can now drag files from
my
program (yay!).
One more question . . .
In the Microsoft specification for DoDragDrop there are 4 arguments (data,
source, allowed effects, used effect). However in the pythoncom
implementation on
Joe Healy wrote:
Hi,
We've been having some problems with the dbi odbc interface to
databases. The problems have been occurring when using MS SQL server or
MS Access databases querying datetimes over daylight savings
boundaries.
The following table containing both string representations and
da
Stian wrote:
On Windows, by default, scripts with a .py extension are run by
Python.exe, which is a console application. If you can write to stdout
and see the results in a console window, then you have a console.
Scripts with a .pyw extension are run by Pythonw.exe, which is a Windows
applicati
Joe Healy wrote:
Roger,
Thanks for this, they were exactly the sort of changes I had in mind,
but with very little knowledge about how to go and make them.
We will try to build from source, but have not tried this before. We'll
let you know how we go with this. We are going to follow the (fa
Thomas Lohse wrote:
Hello,
could anyone provide some assistance in using ShellIconOverlay-Handlers
with pythoncom. I implement a kind of file explorer and would like to
call the ShellIconOverlay-Handlers (registered by TortoiseSVN) of the
windows explorer to visualize SVN-states. (I'm NOT about
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in proteomics.
to read spectra. They provide an API, and VB examples to access it.
The problem is happening with those methods that return and array, as the
others work fine.
I am using defaultNamedNotOptArg= py
Mark Hammond wrote:
On 17/12/2008 12:30 AM, Roger Upole wrote:
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in
proteomics. to read spectra. They provide an API, and VB examples to
access it.
The problem is happening with those methods that return and
Tim Golden wrote:
I *think* this is a bug (or at least an unfortunate effect)
but I'll post here first for a sanity check.
I'm looking at Windows security: descriptors, ACLs, etc. The
conventional wisdom is that a DACL (or an SACL but less commonly)
can be one of three things within a security d
Greg Ewing wrote:
Has anyone successfully used the PyCWnd.OnCtlColor
virtual function to change the appearance of a
control?
The program below tries to use it to set the colour
of the text in a PyCButton. My OnCtlColor method gets
called, but it doesn't have any effect on the appearance
of the b
According to this discussion
http://forums.devx.com/archive/index.php/t-81725.html
the only way to change a pushbutton's colour is to draw
it yourself.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/lis
Aditya Jayraman wrote:
I was wondering if the pywin32 package implements the LsaLogonUser() method
(not to be confused with the LogonUser() method)
I looked through the win32security module and could not find it.
Thanks
--Aditya
Nope, it's not there yet. I have a partial implementation local
pythoncom.RegisterActiveObject inserts an object
into the ROT.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
The only way I know of is to call win32file.DeviceIoControl
with FSCTL_GET_REPARSE_POINT, and unpack the
buffer yourself.
Roger
import win32con, winioctlcon, winnt, win32file
import struct
def get_reparse_target(fname):
h = win32file.CreateFile(fname, 0,
win32con
Gerald Reeder wrote:
Hello,
I'm trying to get values from a non-contiguous range, specifically
"E5:E10,E35"
Range("E5:E10,E35").Value -- only returns the values for "E5:E10",
ignoring
"E35"
Range("E5:E10,E35").Address -- however returns "E5:E10,E35"
Range("E5:E10,E35").Count -- returns 7, whi
Just to clarify, the code is asking for job status rather than
printer status.
According to the docs:
http://msdn.microsoft.com/en-us/library/dd145019(VS.85).aspx
the status can be returned either as a string in the pStatus
member, or as an int in Status. You'll probably need to change
the JOB_
le dahut wrote:
Hello,
On Windows 2000 SP4, since pywin32-213 I get an error :
"CreateURLMonikerEx could not be located"
on a program that ran fine with pywin32-212.
What's happening ?
K.
On machines with older versions of IE, this function may not
be present in urlmon.dll. This has been
Randy Syring wrote:
I found this post:
http://bytes.com/groups/python/38259-sql-server-stored-prcedures-output-parameters
which was helpful in getting me started. However, that method does not
yield the output parameters if a recordset is output in the SP. So, if
my SP is:
CREATE PROCEDUR
According to MSDN, it was added in IE 5.5.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
Vernon Cole wrote:
Tim:
Okay, explain this...
C:\BZR\sterling\HL7>c:\python26\python.exe
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
on
win32
Type "help", "copyright", "credits" or "license" for more information.
import os
os.putenv('x','test')
print os.getenv
Devin Jeanpierre wrote:
I'm new to pywin32 development, but wanted to toy with creating
symlinks (and related new things) with a similar API to the current os
module. The documentation in pywin32 states that the only flag is
"SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the
only
The handle returned by InternetOpen isn't compatible
with the WinHttp* functions. Try using
win32inet.WinHttpOpen instead.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
A sequence like this should get you there.
win32gui.GetForegroundWindow
win32process.GetWindowThreadProcessId
win32api.OpenProcess
win32process.EnumProcessModules
win32process.GetModuleFileNameEx
hth
Roger
___
python-win32 mailing list
pyth
Window()
t,p = win32process.GetWindowThreadProcessId(name)
handle = win32api.OpenProcess(1,False,p)
sleep(1)
whee = win32process.EnumProcessModules(handle)
nama = win32process.GetModuleFileNameEx(whee, 0)
print nama
Thanks!
Roger Upole wrote:
A sequence like this should get
You should be able to get the "Work Offline" status using
win32print.GetPrinter with level 2. The returned Attributes
will contain PRINTER_ATTRIBUTE_WORK_OFFLINE
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/ma
Aahz wrote:
On Fri, Oct 23, 2009, Tim Roberts wrote:
Aahz wrote:
Perhaps it would be better to think more strategically. I don't
actually
care about the list of open files. What I care about is a list of files
that I want to process and checking whether any of them are open. What
would be
Greg Ewing wrote:
Randy Syring wrote:
I am still seeing the bug noted below in 2.1. Do you have plans to
tackle it?
>
win32ui.error: The object has been destroyed.
Reportedly it can be worked around by reverting to build
212 of pywin32. I haven't had a chance to investigate
what's causing
From looking at the source of
PyCom_VariantFromPyObject in oleargs.cpp,
the check for a boolean is done after the check for
an int. PyLong_Check is used to determine
if the object should be converted to one of the variant
integer types. Apparently in Python 3.x, this now returns
True for a boo
OptiCar wrote:
Hello,
i need to know when an updated file has been opened.
is it possible to watch the "OPEN" and "ACCESS" event with an adaptation
of the Tim Golden's script ?
need to work on windows, does pywin32 can ?
inotify is only for linux
dazuko can catch on linux
what can work on windows
Bill Janssen wrote:
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol "dllhandle", but that's just a numeric
handle.
Bill
win32api.GetModuleFileName(sys.dllhandle)
Ro
Does job.GetTriggerCount() return 1 ?
If it does, but the trigger doesn't appear in the
Task Scheduler UI, most likely there's
something it doesn't like about the trigger's
flags.
Roger
___
python-win32 mailing list
[email protected]
http://
Vernon Cole wrote:
I ran into the same problem using adodbapi. I tracked it down to the COM
call which errored out, and decided that maybe it was a Microsoft problem
and ignored it, just leaving the application broken on that feature. If
pyODBC can do it, then the problem must be in the COM rout
pbx wrote:
>
> hello, there seems to be something wrong with this,
> target always seems to be prepended with some data like ?\\? before the
> expected string (e.g. C:\Users\...) starts.
The '\??\' prefix is normal. That's the designator for a raw path, and is
required when creating a reparse p
RJ wrote:
>I need to run both a Python DDE server and Python DDE client on the
> same machine (separate programs). Is there a reason why when I
> Create() the client:
> server.Create("PyVibeSurvey")
> I get:
> dde.error: The server could not be created
> for the client program?
> When the same cl
"Robert" wrote in message
news:[email protected]...
> A)
>
> What could be the cause for this exception of PyGUI with
> pywin32-build214 - but not with build 212 :?
>
> Traceback (most recent call last):
> File "blobedit.py", line 131, in
> BlobApp().run()
> File "C:\Python2
"Greg Ewing" wrote in message
news:[email protected]...
> On 21/10/10 14:02, Roger Upole wrote:
>
>> The problem stems from these 2 lines in ScrollableViews.py:
>>
>> rev = ui.CreateRichEditView()
>> win_dummy_doc = rev.GetDocument()
>&
Greg Ewing wrote:
> Roger Upole wrote:
>
>> You instantiate the MFC view object without a document, but in order
>> to actually create a window and do anything useful with it, it needs
>> a valid document.
>
> Are you absolutely sure about that?
>
> At the MFC
You might be able to use win32service.CreateDesktop to give
the program a desktop to work with.
Roger
Randy Syring wrote:
>I have been tasked with integrating an command line program (.exe) with a
>python web application. The program is intended to be run by a normal user
>and therefore p
nonino wrote:
>
> Ok, Lets start from the beginning:
> I am doing a PhD in information science. As part of my study I am studying
> the use of folders vs. tags. starting from windows vista there is an
> option
> in windows to add tags to office files photos and other file formats. In
> the
> firs
A fix has been committed to the code base, but there hasn't been a release
in the meantime. If you can build from source, check out the current CVS
and make sure it solves your issue.
Roger
"Tom" wrote in message
news:[email protected]...
>I have the same problems and
There's an accessibility option built into Windows to do something
like this. Look under Control Panel->Mouse->Options, and you
should see an option to highlight the mouse cursor when the CTRL
key is pressed.
Roger
"Alex Hall" wrote in message
news:AANLkTi=y0mX86gcR67Ot=szzdjq1mfhvuzx-+x
Dynamic objects have a _make_method method that you can use to
ensure that it will be called with parameters.
Roger
"Richard Lawrence" wrote in message
news:[email protected]...
Dear Pythonistas,
I still haven't figured out a way around this
"FT" wrote in message
news:2B602B53D89E450ABF2B9DA00081CE1B@1B1B1L1...
>
> Hi Mark,
>
>I could not find using Google any information on how to get the Laptop
> Battery Level information so I could have my Screen Reader Or voices from
> Sapi to talk the information.
>So, I would need th
Giampaolo Rodolà wrote:
> Hi all,
> I'm trying to take advantage of TransmitFile function in pyftpdlib:
> http://code.google.com/p/pyftpdlib/issues/detail?id=152
>
> I've noticed pywin32 provides a wrapper:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1962146&group_id=78018&atid=55195
mmediately.
"wait for an async operation to complete" sounds kinda wrong to me.
--- Giampaolo
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/
2011/1/28 Roger Upole :
> Giampaolo Rodolà wrote:
>> Hi all,
>> I'm trying to take advantage of Tra
You can pass an existing IDispatch object to DispatchWithEvents
as the first arg in place of a clsid.
Roger
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
Try replacing
self.m__signpad = TopazSigPlus.SigPlus()
with
self.m__signpad = win32com.client.DispatchWithEvents(TopazSigPlus.SigPlus(),
MyEvents)
Roger
Patricio Eduardo Stegmann wrote:
> Hi Roger,
>
> could you please be a bit more specific ?
>
>
> - Original message -
>> You c
Many OCX controls require a full activex container to function correctly.
Pythonwin can act as a host, or you could embed your control in IE
with an tag and access it thru IE's COM interfaces.
Roger
"Patricio Stegmann" wrote in message
news:[email protected]
I think this is dependent on the printer driver.
Some use the paper size defined by the the form,
and others use the PaperSize member.
Roger
"Tefnet Developers" wrote in message
news:129553.2645.29.camel@cacko...
> Hi,
>
> I am adding some printers connection as a user with
> win32pri
"Tefnet Developers" wrote in message
news:1298974742.7642.1.camel@cacko...
> Dnia 2011-02-28, pon o godzinie 19:11 -0500, Roger Upole pisze:
>> I think this is dependent on the printer driver.
>> Some use the paper size defined by the the form,
>> and others us
Mark Hammond wrote:
news:[email protected]...
> On 6/03/2011 3:07 PM, Greg Ewing wrote:
>> I think I've narrowed down what's going on with the font
>> sizes a bit more. It has to do with the interperetation
>> of the nHeight parameter to CreateFont.
>>
>> It appears that you can specify
J.D. Main wrote:
> (repost of previous message apparently HTML'd by my mailer...sorry)
>
> Hello,
> I have been hunting for a solution to this one for some time. I've
> already tried all the easy stuff. I have IIS 5 on a WinXP Pro machine.
> I recently posted this to the Python WEB sig - apparent
"Greg Ewing" wrote in message
news:[email protected]...
> Roger Upole wrote:
>
>> The conversion in win32ui has changed since 212. At one time it
>> was negating the height that was passed in:
>>
>> if (PyInt_Check (v))
>>
"Roger Upole" wrote in message news:...
> J.D. Main wrote:
>> (repost of previous message apparently HTML'd by my mailer...sorry)
>>
>> Hello,
>> I have been hunting for a solution to this one for some time. I've
>> already tried all the e
[email protected] wrote
> Now what? Is there a log or something that would get created if python were
> ever invoked by ASP?
Open Pythonwin and select
Tools->Trace collector debugging tool
This will show a window that displays any debug output.
Roger
_
and 64 bit variants and it's missing from both.
>>
>> Roger Upole can obviously speak for himself, but in a email
>> conversation I had with him a while back, he said that they hadn't
>> been able to build it because of an issue with the version
>> of SWIG
"Vernon Cole" wrote in message
news:[email protected]...
> Working fine here. Here's a sample for anyone who has not tried sourceforge
> hg before.
> I have PuTTY loaded on this machine, and already have my ssh keys set up on
> sourceforge -- just like
"Roger Upole" wrote in message
news:[email protected]...
>
> "Tim Golden" wrote in message
> news:[email protected]...
>> On 10/03/2011 11:29, Tim Golden wrote:
>>> On 09/03/2011 16:40, Graham Bloice wrote:
>>>
"Greg Ewing" wrote in message
news:[email protected]...
> According to the pywin32 docs, PyCWnd.GetScrollInfo and
> PyCWnd.SetScrollInfo have the following signatures:
>
>int = GetScrollInfo(nBar, mask)
>int = SetScrollInfo(nBar, redraw)
>
> Surely these can't be right? S
Misy wrote:
> Mark Hammond gmail.com> writes:
>
>>
>> 64bit processes can't use 32bit COM objects (at least not in-proc - not
>> sure about external) and I guess your COM object is 32 bit.
>>
>> The easiest answer is probably just to install the 32bit Python and
>> 32bit pywin32 extensions - you
"Misy" wrote in message
news:[email protected]...
> Roger Upole hotmail.com> writes:
>>
>> You may be able to create an out of process proxy for your 32-bit app.
>> >From Administrative Tools->Component Services, navigate to
>
In the call to OpenProcessToken, you'll need to specify TOKEN_QUERY also.
Roger
"Gremlin" wrote in message
news:7C1FF6262D1C41509DEDE93ABBA01CFC@BELLO...
> Hello.
>
>
>
> I want to adapt the following technique into python:
> http://blogs.msdn.com/b/aaron_margosis/archive/2009/06/06/faq-ho
If you can build the dde module yourself, reenabling multiple servers
for 32-bit is just a matter of uncommenting
// #define _CALLHACK_
in stddde.cpp.
Roger
___
python-win32 mailing list
python-win32
Compiling with VC 2008 Express is going to be a problem. The free
compiler doesn't seem to support using the atl/mfc headers and libraries.
Roger
___
python-win32 mailing list
[email protected]
Mark Lawrence wrote:
> Hi all,
>
> I assume that this is a long time known problem that is regarded as a joke
> but when I do a find and replace the number of items
> reported as replaced is always one less than it should be. Fix and/or
> workaround pretty please.
>
> --
> Cheers.
>
> Mark Law
Looks like this is due to some of the changes to support Python 3.
As I recall, it was difficult to get the inheritance from
pywin.mfc.object.Object
to work properly for both Python 2 and 3. The autocomplete code is doing
some introspection, so the attribute lookup gets even more complicated.
I'l
"bob gailer" wrote in message
news:[email protected]...
>I open a .py file, work away and all is OK.
> I drag the vertical divider to show the object treeview.
> I type some text then a period and get:
>
> >>> Firing event 'KeyDot' failed.
> Traceback (most recent call last):
> File
>
"bob gailer" wrote in message
news:[email protected]...
> In the watch window ctrl-x,c,v do not work (for cut copy and paste). I
> must use the context menu.
The API doesn't supply any way to change how the Edit control is created.
Looks like we're just going to have to live with this
"Tim Golden" wrote in message
news:[email protected]...
> Could someone glance at this to confirm that it does indeed
> seem to be a bug before I start hunting up the chain of
> function calls to spot the issue, please?
>
> Steps are simple:
>
> 1) Use Python 3.2 and pywin32 217
>
with that API, but the crash is because
>> EvtOpenLog is returning a handle with a value of 1 and ReadEventLog is
>> crashing with that handle. A quick google doesn't find anyone trying to
>> use ReadEventLog with a handle returned by EvtOpenLog but instead uses
>> EvtGetL
Looks like the parameters to SetIntegerElement are reversed:
>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[0].Name
'Integer'
>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[1].Name
'Type'
If I switch the call to
success, = call(objWBM, "SetIntegerElement", 5,
If you're running the script from python.exe, you'll need to run
a message loop (pythoncom.PumpMessages()) to receive events.
You don't need that in Pythonwin since it runs its own message loop.
Also, are you sure the event class should be attached to the button
itself ? I'm not familiar with thi
Jim Carroll wrote:
> I'm running django1.2.4 against mssql, using sqlserver_ado,and pywin32 v214
> and it runs for a few hours, then starts failing with:
>
>
> File "C:\\Python27\\lib\\site-packages\\django_mssql-1.0.0.dev_unknown-
> py2.7.egg\\sqlserver_ado\\dbapi.py", line 41, inimport python
Jim Carroll wrote:
>> Look for duplicate versions of pywintypes27.dll or pythoncom27.dll,
>> most likely in the python installation and your System32 directory.
>
> Could pywintypes27.dll be colliding with pywintypes26.dll?
> I just tried moving everything to Python 2.7,
> and disabling python 2.6,
"prashant padaganur" wrote in message
news:CAFypNu8RuhnRAQXWu5GtFZkuje1Dj-=cnrun7an+uuhjvdo...@mail.gmail.com...
>I want to write an application that puts the system in to different sleep
> states. Like S0,S1...S4.
>
> Before changing from one state to another I want to know the
> current/previou
"prashant padaganur" wrote in message
news:CAFypNu8RuhnRAQXWu5GtFZkuje1Dj-=cnrun7an+uuhjvdo...@mail.gmail.com...
>I want to write an application that puts the system in to different sleep
> states. Like S0,S1...S4.
>
> Before changing from one state to another I want to know the
> current/previo
That one isn't in winioctlcon.py yet, but you should be able to
define it relatively easily. According to the headers:
#define IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL \
CTL_CODE( FILE_DEVICE_DISK, 0x7a0, METHOD_BUFFERED, FILE_ANY_ACCESS)
You'll probably need to create the output buffer
The first number is a combination of VARENUM values (pythoncom.VT_*) indicating
the type,
and the second is from PARAMFLAGS (pythoncom.PARAMFLAG_*).
(24584, 3) is (VT_ARRAY|VT_BYREF|VT_BSTR, PARAMFLAG_FIN|PARAMFLAG_FOUT)
(24588, 3) is (VT_ARRAY|VT_BYREF|VT_VARIANT, PARAMFLAG_FIN|PARAMFLAG_FOUT)
Amaury Forgeot d'Arc wrote:
> Hello,
>
> You probably know that Python3.3 has a completely new implementation
> of the import system:
> http://docs.python.org/dev/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import
> (yes, import is now written in Python!)
>
> But there is a missing f
There's a FileStream class in \win32com\server\util.py that
creates an IStream connected to a file.
If you still need SHCreateStreamOnFileEx, put in a feature
request on Sourceforge, and I'll try to get that function added
to win32com.shell.
Roger
__
Radek Holý wrote:
> Hello,
>
> are somewhere in pywin32 library implemented these functions:
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa373163%28v=vs.85%29.aspx
> ?
Most of these are not in Pywin32, except for GetPwrCapabilities.
> If not, can you please advise how to use for ex
Dudley Carr wrote:
> The COM object I'm trying to access via Python has a CLSID and a ProgID
> registered, but no typelib as far as I can tell. Is it possible to use
> makepy without having a typelib? Having looked at makepy.py that doesn't
> seem to be the case.
>
> Thanks,
> Dudley
Makepy does r
Scott Nelson wrote:
> Greetings...
>
> Would anyone happen to have some sample code of how to use
> SHOpenFolderAndSelectItems? I've been tinkering with it and haven't got
> anything to work yet. This is the closest I've got:
>
from win32com.shell import shell
shell.SHOpenFolderAndSele
raf wrote:
> so my questions are:
> did the sid for the account name ever uniquely identify the user?
Yes. In fact it's the only way, since you can change the login name of an
account.
> how do i obtain the "1009" that needs to be appended to the sid
> to complete it?
win32security.LookupAccou
raf wrote:
> Roger Upole wrote:
>
>> raf wrote:
>>
>> > so my questions are:
>> > did the sid for the account name ever uniquely identify the user?
>>
>> Yes. In fact it's the only way, since you can change the login name of an
>> a
You should be able to get the context menu by creating a shell item
for the library file (using eg shell.SHCreateShellItem), and then
call BindToHandler using BHID_SFUIObject and IID_IContextMenu.
That should result in an IContextMenu object, from which you can
fill in a menu handle using QueryCont
What version of Pywin32 are you running ? There was a recent change to fix a
problem with
win32gui.EnumWindows in build 218.
Roger
"Radu Savutiu" wrote in message
news:cabjn2yikltakugglr7fmh2gbc7vu+ohf_gac8kp3iywnw3y...@mail.gmail.com...
>I appreciate answers received, however none worke
Looks like it's due to way the type is name-checked (oleargs.cpp, line 263):
else if (strcmp(obj->ob_type->tp_name, "Decimal")==0)
That doesn't work in 3.3 anymore. However, the function it calls to do the
actual conversion has already been modified to use an isinstance check
instead so it shoul
I'm wholeheartedly in favor of dropping it. Changes in the Python's C api
since 2.3 are a major pain when building extension modules.
Also, the compiler it's built with (VC6) has many incompatibilities with the
newer versions of Visual Studio.
Roger
You'll need to use 32-bit python to be able to load a 32-bit COM object
directly.
Roger
"Costis Hatzopoulos" wrote in message
news:CAMFgko=J+TwSr1QfQqZE4YhRVt5-=r-qtn=-ijf_ddhpcxz...@mail.gmail.com...
> Hello,
>
> I have updated to the latest version of python-win32 on Windows 7 64bit,
>
Python 2.4 is VS.Net 2003 (aka VC7).
If we can drop support for Windows 95/98/ME while we're
at it, it would eliminate some more maintenance headaches.
At this point in time, even dropping Windows NT isn't unreasonable.
Roger
"Mark Hammond" wrote in message
news:[email protected].
I think the uuid module was introduced in python 2.5, might want to bear that
in mind.
Roger
"Vernon D. Cole" wrote in message
news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@mail.gmail.com...
>I am doing a major update to adodbapi, and have an ideal opportunity to add
> a new fea
--
> Vernon
>
>
> On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole wrote:
>
>> I think the uuid module was introduced in python 2.5, might want to bear
>> that in mind.
>>
>> Roger
>>
>> "Vernon D. Cole" wrote in message
>> new
The pickle module is looking at the name of the class, and verifying that
there's a module.class that matches. However, our subclass of
datetime.datetime is registered in pywintypes' dict as TimeType
instead. As a workaround, try
pywintypes.datetime = pywintypes.TimeType
Roger
"Vernon D.
I'm guessing you have a 32/64 bit problem, as most XP installs are 32-bit.
I'd take a closer look at hServer, since handles are pointer-sized (4 bytes on
32 bit and 8 bytes on x64).
Roger
"Wedel, Jan" wrote in message
news:47ee7f193edc7e468e74bb0acfb17929011692c...@ex10mbox1b.hosting.inetse
1 - 100 of 371 matches
Mail list logo