[python-win32] Compiling python functions in a c file on windows

2010-08-06 Thread David Hutto
While trying to go through the tutorial in the official python documentation, I'm encountering a problem on Windows(ubuntu/linux compiles the same test file fine) I'm just using a 'dummy' function at this point, so no other errors are thrown: #include "c:\\Python31\\include\\Python.h" int main()

Re: [python-win32] Compiling python functions in a c file on windows

2010-08-07 Thread David Hutto
On Fri, Aug 6, 2010 at 11:11 PM, David Hutto wrote: > While trying to go through the tutorial in the official python > documentation, I'm encountering a problem on Windows(ubuntu/linux > compiles the same test file fine) > > I'm just using a 'dummy' function at

Re: [python-win32] Compiling python functions in a c file on windows

2010-08-09 Thread David Hutto
On Sat, Aug 7, 2010 at 8:32 AM, David Hutto wrote: > On Fri, Aug 6, 2010 at 11:11 PM, David Hutto wrote: >> While trying to go through the tutorial in the official python >> documentation, I'm encountering a problem on Windows(ubuntu/linux >> compiles the same test

Re: [python-win32] FW: Problems with recordset object

2010-09-02 Thread David Hutto
On Thu, Sep 2, 2010 at 6:36 AM, Dardo Schuster Glez wrote: > Dear Sirs > > I was programming many years with delphi/sql server and now i am looking > python with your ado library to migrate . I am making my first ado program > with python using python 3.1 and pythonwin but i have a problem : recor

Re: [python-win32] get file tags in windows7 vista

2010-12-11 Thread David Hutto
On Sat, Dec 11, 2010 at 12:36 PM, nonino wrote: > > Hi, > > First I would like to say that I really searched the net but couldn't find > an answer... (I found someone who asked the same question but couldn't track > him/her). > > I am trying to read file tags in windows7 and/or vista. > How can I

Re: [python-win32] get file tags in windows7 vista

2010-12-12 Thread David Hutto
d from there. so the output will be for example: 1010 files in > total: 105 in under folder hierarchy of 4, 305 under folder hierarchy of 3 > 600 under folder hierarchy of 2. 7 files with 3 tags 3 files with 2 tags 10 > files with 1 tag. > So, please help me. how can I get those tags out

Re: [python-win32] Trouble with SetWindowLong().

2011-01-16 Thread David Hutto
On Sun, Jan 16, 2011 at 9:51 AM, Ben Timby wrote: > IIUC, WndProc receives messages from the message pump. I am attempting > to override the default message handler with my own. The code I posted > is a contrived example. So really, I am not interested in the > correctness of it, but why does the

Re: [python-win32] Python Excel - 2 workbooks affect each other [SEC=UNCLASSIFIED]

2011-02-28 Thread David Hutto
On Mon, Feb 28, 2011 at 7:14 PM, Andrew MacIntyre wrote: > [apologies for top post] > > > > I’m far from an expert, or even experienced, in Excel however the term > “paste” rings bells.  Behind the scenes, material in the clipboard has lots > of metadata and a selection copied from one open workbo

Re: [python-win32] Possible future direction for PyGUI on Win32

2011-03-01 Thread David Hutto
On Tue, Mar 1, 2011 at 5:05 AM, Tim Golden wrote: > On 28/02/2011 09:40, Tim Golden wrote: >> >> Well, the last Svn commit was 4 weeks ago, by "barton_c", and Python27 >> "support" (ie switches") were added 2 months ago. Looks like "Barton_C" >> needs to do some advertising. I'll see if I can cont

Re: [python-win32] How to read the target of a Windows Shortcut

2011-03-04 Thread David Hutto
On Fri, Mar 4, 2011 at 7:27 AM, Ayaskanta Swain wrote: > Hi, > > > > Thank you for sending me the link. I tried it by copying the > “shortcut_target(filename)” function into my script. But it does the same > thing as I had mentioned in my previous e-mail. i.e It returns me the target > path correc

Re: [python-win32] How to read the target of a Windows Shortcut

2011-03-04 Thread David Hutto
On Fri, Mar 4, 2011 at 7:58 AM, David Hutto wrote: > On Fri, Mar 4, 2011 at 7:27 AM, Ayaskanta Swain > wrote: >> Hi, >> >> >> >> Thank you for sending me the link. I tried it by copying the >> “shortcut_target(filename)” function into my script. But it

Re: [python-win32] How to read the target of a Windows Shortcut

2011-03-04 Thread David Hutto
I probably forgot to include my sig, which means listen all of us like a hive queen instead of like a bullish king. -- According to theoretical physics, the division of spatial intervals as the universe evolves gives rise to the fact that in another timeline, your interdimensional counterpart rec

[python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-21 Thread David Hutto
Hi, I'm using: Microsoft Windows [Version 6.1.7600](Windows 7) Copyright (c) 2009 Microsoft Corporation. All rights reserved. Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32 I've tried numerous methods trying to send a simple command in a shell session. W

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread David Hutto
On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts wrote: > David Hutto wrote: >> initiates the START command, which means it works, but not on command >> line when using SoundRecorder which is in the system32 dir. I thought >> it might be a directory placement problem, but don&#x

Re: [python-win32] Issuing a command via subprocess, other methods in Windows 7

2012-02-22 Thread David Hutto
On Wed, Feb 22, 2012 at 12:59 PM, Tim Roberts wrote: > David Hutto wrote: >> initiates the START command, which means it works, but not on command >> line when using SoundRecorder which is in the system32 dir. I thought >> it might be a directory placement problem, but don&#x

[python-win32] Obtaining an audio devices current 'register' values

2012-02-24 Thread David Hutto
Using python 2.7.2 on windows 7 amd64 I'm working currently with .wav files to pull from the mic/audio in line for an oscilloscope, and looking for a more appropriate(quicker) way to pull values straight from the mic/audio-in line. Is there a particular file I can pull the value from constantly,