2009/12/8 Boar Gules :
> Just one of those baffling "security" notions embedded in Explorer, I
> suppose. Found it at the command line using
>
> dir %windir%\system32\python26.dll
Are you on 64-bit Windows? Most of these problems seem to be caused by
people being baffled by Win64's strange ways o
2009/11/3 David Cournapeau :
> The only test I have done is that python setupegg.py and setup.py
> install generate the same tree (and that the produced egg is working).
> I am not very familiar with pywin32, so if there is a formal test
> suite to run, let me know,
I guess this doesn't run the po
Will the pywin32-213.win32-py3.0.exe binary available from SF work for
Python 3.1 (I suspect the answer is "no" :-() If not,is there an ETA
for a Python 3.1 build? Now that 3.1 is out, I'm seriously considering
switching my default Python to be Python 3, and pywin32 is one of the
key things I need.
2009/2/16 Paul Moore :
> 2009/2/16 Tim Golden :
>> They're structured storage and a bit opaque. In principle
>> this (very sketchy and untested) code should get you started:
>
> Thanks, that's a good start. Actually, your mention of the IStream
> interface below
2009/2/16 Tim Golden :
> They're structured storage and a bit opaque. In principle
> this (very sketchy and untested) code should get you started:
Thanks, that's a good start. Actually, your mention of the IStream
interface below reminds me, I'm fairly sure I saw somewhere a mention
of a CDO metho
Sorry, this is only peripherally a Python issue, as the code I'm
writing could just as easily be VBScript or any other language... But
as I'm writing in Python, and this group is full of helpful and
knowledgeable people... :-)
I have a folder full of emails saved from Outlook (.msg extension). I
w
2009/1/28 Mark Hammond :
> I'd like to express my extreme gratitude to Roger, without whom this py3k
> work would never have started in the first place. I'd also like to thank
> Jason and Vern who helped me out with the win32timezone and adodbapi modules
> respectively.
Thank you to all! One of t
2009/1/13 Mark Hammond :
> So, my question is: Assuming we want to set a time object into a SYSTEMTIME
> or FILETIME structure, what should pywin32 do when faced with a timezone
> naïve object? I see only 2 options:
>
> * Given the SYSTEMTIME assumes UTC and the object is timezone naïve, the
> cod
2008/9/23 Tim Golden <[EMAIL PROTECTED]>:
> Andrea Gavana wrote:
> ... No explanation was provided for the reason of the
>>
>> corrupted download (!)
>
>
> There used to be a general warning on sites which offered
> tgz for download that IE would do something weird with them.
> I never experienced
2008/7/5 Mark Hammond <[EMAIL PROTECTED]>:
>> I know it's possible with Python - but does pywin32 "work" if the
>> postinstall hasn't been run? Specifically, I don't care about
>> embedding Python, or about creating COM servers or services, but I do
>> want to be able to run "normal" Python scripts
On 04/07/2008, Michael Foord <[EMAIL PROTECTED]> wrote:
> It is certainly worth *trying* portably and seeing what problems you
> encounter - I *Suspect* they will be minimal.
That's a fair point. I'll see if I can set up a virtual machine with
no Python installed, and give it a go.
Paul.
On 04/07/2008, Michael Foord <[EMAIL PROTECTED]> wrote:
> Movable Python comes with the Pywin32 extensions.
>
> http://www.voidspace.org.uk/python/movpy/
Thanks. Does that mean that out of the box pywin32 works portably, or
were changes needed for Movable Python? (I don't want to use Movable
Pytho
Is it possible to run Python and pywin32 portably (ie, in a
configuration I can copy from one machine to another without rble with
Pytstaller)?
I know it's possible with Python - but does pywin32 "work" if the
postinstall hasn't been run? Specifically, I don't care about
embedding Python, or about
On 29/05/2008, Dahlstrom, Roger <[EMAIL PROTECTED]> wrote:
> I'd try looking at memcached (http://www.danga.com/memcached/apis.html).
> No hacking or reimplementation of the interpreter would be necessary, and
> there's a Python api available. I haven't used it for anything production
> related,
On 17/03/2008, le dahut <[EMAIL PROTECTED]> wrote:
> I'm writting a Wx app and I want to skip Alt+F4. I've used somehting
> like that :
> def OnKeyDown(self, event):
> print event.AltDown(), event.GetKeyCode()
> if event.AltDown() and event.GetKeyCode() == wx.WXK_F4:
>
On 06/03/2008, Tim Roberts <[EMAIL PROTECTED]> wrote:
> caxelrud wrote:
> > The XP was about 100 times faster !
> >
> > Does anybody now how to seepup the Vista execution?
>
> Yes: upgrade to Windows XP. ;)
Is it also possible that Vista has some form of firewall enabled by
default, that is no
On 25/02/2008, Mark Hammond <[EMAIL PROTECTED]> wrote:
> I'm afraid I haven't followed this closely, but:
>
>
> > The real problem here is that the OP hasn't notified the service
> > control manager that it has stopped, once SvcDoRun completes. He needs
> > a call to self.ReportServiceStatus(win
On 22/02/2008, Larry Bates <[EMAIL PROTECTED]> wrote:
> This seems to come up about every other week. The problem is that you
> haven't
> given your service a way to KNOW that you have sent a stop signal. Below is
> a
> skeleton of a correct SvcDoRun method:
In fact, the code shown uses sel
On 22/11/2007, Charlie <[EMAIL PROTECTED]> wrote:
> That launches a new DOS console at the desired directory location.
>
> Pretty close to what I was hoping for.
You can't really get much closer. A child process (which is what your
Python program is) cannot alter the environment (env variables,
On 17/10/2007, lakki p <[EMAIL PROTECTED]> wrote:
> Hi,
> i try to execute attached example.but it showing error "wchar.h" unable to
> open.
> just i commented where it was showing.
> still i am getting errors like unresolved external reference Py_Initialize
> and Py_Finalize and PyInt_FromLong.
>
On 25/09/2007, Stephen Warren <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I just grabbed the latest SVN head (trunk) of Python and attempted to
> build using VS .NET 2005 Express, and the sln/vcproj files in the
> PCbuild8 directory.
>
> I had a few problems bui
On 09/05/07, Michel Claveau <[EMAIL PROTECTED]> wrote:
> I'have a problem with this code :
>
> import win32gui
> fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0]
> print fname
>
> The InitialDir is not set. It's already the last dir opened, and not my
> request.
>
> Any idea ?
On 08/04/07, Simon Dahlbacka <[EMAIL PROTECTED]> wrote:
> Are you simulating Vista behavior on non-vista system, or do you want a
> glass-enabled application on vista?
I'm doing this on XP. If it's a Vista look, I wasn't aware of it...
:-) Thanks for the information, though, it might help me in so
This is only vaguely a Python related question - I'm writing Python
code, but the basic issue I have is with Win32 programming regardless
of language - but I don't know a really good forum for Win32 API
technical coding questions (aside: can anyone point me to such a forum
- high signal-to-noise ra
On 11/14/06, Ross McKerchar <[EMAIL PROTECTED]> wrote:
> Is there anywhere I can download a compiled but unpackaged version of
> pywin32?
>
> I would like to repackage the win32 extensions as an msi using the the
> bdist_msi distutils extension, allowing me to deploy the package to
> multiple clien
On 7/16/06, Michel Claveau <[EMAIL PROTECTED]> wrote:
> Mark & Roger : thank you very very much!!!
Agreed!
On 7/16/06, Mark Hammond <[EMAIL PROTECTED]> wrote:
> As an aside: I'll be at OSCON in just over a week - let me know if anyone
> would like a beer!
If I was there, I'd buy you one. Thanks
On 7/15/06, Michel Claveau <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Until some months :
>http://sourceforge.net/project/showfiles.php?group_id=78018
Sorry, I wasn't clear. That version produces API version mismatch
warnings with the latest Python 2.5 beta. A rebuild of pywin32 is
needed to fix thi
Is there going to be a new release of pywin32 for Python 2.5 soon? The
reason I ask is that 2.5 final is getting close, and the existing
binary was built before the API number changes, so it generates a load
of warnings with the current beta.
It's not a big deal, but it would be nice...
Thanks,
P
On 6/15/06, Chris Botos <[EMAIL PROTECTED]> wrote:
> 3) I downloaded and installed:
> .NET Framework SDK Version 1.1
> Visual C++ 2005 Express Edition, that first installs .NET Framework 2.0
> (note that I could not get to a download for the 2003 version on
> Microsoft's site and the only other
On 5/11/06, Andrew Markebo <[EMAIL PROTECTED]> wrote:
> My question is... Is it possible to load and execute the code in a dll
> from PythonWin?
>
> I have found the function LoadLibrary, but how do I check the
> contents, and so on in the dll?
I don't think this is possible within pywin32 (I'm su
On 4/16/06, Paul Moore <[EMAIL PROTECTED]> wrote:
> There's a problem with Python 2.5 (http://www.python.org/sf/1465834)
> which means that installers with preinstall scripts don't work. The
> pywin32 build 208 installer is one such (I reported this as bug
> 1465566
On 4/19/06, Roger Upole <[EMAIL PROTECTED]> wrote:
> I've removed the ATL macros from win32wnet. (checkin messages are still
> bouncing)
Cool, thanks. I was going to look at this, but real life came along...
When I get back to it, I'll see how much I can get running, and post a
patch on SF.
Pau
On 4/17/06, Paul Moore <[EMAIL PROTECTED]> wrote:
> On 4/16/06, Paul Moore <[EMAIL PROTECTED]> wrote:
> > I tried building one for myself, but I'm missing some critical
> > dependencies (dsound.h?)
>
> I'm assuming this is from the DirectX SDK, which I
On 4/16/06, Paul Moore <[EMAIL PROTECTED]> wrote:
> I tried building one for myself, but I'm missing some critical
> dependencies (dsound.h?)
I'm assuming this is from the DirectX SDK, which I'm in the process of
downloading now to try it out. Are there any other down
On 4/17/06, David Rushby <[EMAIL PROTECTED]> wrote:
> --- Mark Hammond <[EMAIL PROTECTED]> wrote:
> > > Wise-installer versions, which are pretty old by now. Is there any
> > > chance of a temporary version of the installer without the
> > preinstall
> > > script, just for use with the Python 2.5a1
There's a problem with Python 2.5 (http://www.python.org/sf/1465834)
which means that installers with preinstall scripts don't work. The
pywin32 build 208 installer is one such (I reported this as bug
1465566 before I realised this was a Python bug).
The preinstall script seems only to be used to
On 1/18/06, aurora <[EMAIL PROTECTED]> wrote:
> Build using py2exe. Install as service. When os.startfile() is ran inside
> service, nothing happens. No error message. Nothing as all.
[...]
> I'm suspecting priviledge issue. But even if I change the service logon as
> myself instead of LocalAdmin,
On 1/13/06, Tim Golden <[EMAIL PROTECTED]> wrote:
> Well, according to this message:
>
> http://groups.google.com/group/microsoft.public.win32.programmer.wmi/msg/799622aef19f9a3c
>
> it's not supported in WMI. Which is a shame because
> it would be quite useful. Maybe someone more win32
> API-orien
I'd like to write a script to dismount a USB memory drive. I'm pretty
sure this would be possible with something like wmi.py, but I've never
been able to navigate through the WMI documentation well enough to see
how to do things :-(
Can anyone give me any pointers (it doesn't have to be a WMI solu
On 10/27/05, Christian Junker <[EMAIL PROTECTED]> wrote:
> I am having difficulty spawning processes with the os.P_NOWAIT and the
> waitpid function in the os module. What I simply want to do is to
> launch another process along with immediately getting its exit status
> in a cross-platform support
On 10/21/05, Steve Holden <[EMAIL PROTECTED]> wrote:
> > Is there any way to know this windows' class name? I need to find it by
[...]
> I'm not saying it can'ty be done (which is a pity for you, because
> that's usually a cue for someone to contradict me) but it's expecting
> quite a lot of win32g
On 10/7/05, Tim Roberts <[EMAIL PROTECTED]> wrote:
> On Thu, 6 Oct 2005 16:20:01 +0100, Paul Moore <[EMAIL PROTECTED]> wrote
>
> >Debugging service RegistryQueryService - press Ctrl+C to stop.
> >Stopping debug service.
> >Stopping debug service.
> >Err
This is a very odd problem. I have a module that I want to package up
as a service - it has a "Registry" class, with mainloop and stop
methods (the former sits in an infinite loop, the latter signals the
loop to terminate). I am trying to package this up as a simple
service, as follows:
import win
On 7/1/05, Simon Dahlbacka <[EMAIL PROTECTED]> wrote:
> On 7/1/05, Mark Hammond <[EMAIL PROTECTED]> wrote:
> > > ..but how do i find out if let's say X:\foo\bar\blarg.baz is a local
> > > path or in fact a mapped network path?
> >
> > win32api.GetLogicalDriveStrings() may also help.
>
> I was goin
On 5/10/05, Nalli Dinesh <[EMAIL PROTECTED]> wrote:
> Folks,
> This seems very easy, as every programming language provides this. But
> I don;t know why I have this not working for me in Python scripts.
> The problem:
> I am trying to create and set environment variable LANG under windows
> from P
On Apr 4, 2005 5:29 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
> If I needed to refer to an 89MB disk file in an
> object, I would replace the data with the file name before pickling. I
> thought pickle recognized a magic method name so the object could "help"
> put itself into a picklable state,
On Wed, 26 Jan 2005 17:41:10 -0600, Chris Stromberger
<[EMAIL PROTECTED]> wrote:
> One more clue. If I change the code to resize always, then the
> corrupt jpg fails in the call to im.resize (before it attempts to call
> im.save), and thereafter there are no problems--the subsequent normal
> jpgs
On Tue, 7 Dec 2004 15:33:34 -0800, Charlie Taylor <[EMAIL PROTECTED]> wrote:
> Is there a good reference to the steps that should be taken to upgrade a
> Windows machine to the next version of python?
>
> My journey from 2.2 to 2.3 was very knicker-twisting. I'm hoping for more
> of a controlled
48 matches
Mail list logo