Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-11-03 Thread Scott Nelson
Scott Nelson wrote: > > It *is* possible to color console text with Python and pywin. But, it is > tricky and not obvious. I've been wondering how to do this myself and I > recently found some C code on the web [2] that does this and I translated > that into to Python and pywin. It can be done

Re: [Tutor] PyWin32 - Library of functions to interact with windows

2009-10-16 Thread Alan Gauld
"Katt" wrote and Alan Gauld's: Tutor - > May 27, 2007). Oops, thats the old Freenet version. The most recent one(with a few bug fixes etc) is as per my .sig... (The 3 yucky Geocities images at the top will be disappearing soon as I finally move the files to the new server and turn off t

Re: [Tutor] PyWin32 - Library of functions to interact with windows

2009-10-16 Thread Katt
Message: 4 Date: Thu, 15 Oct 2009 09:35:30 +0100 From: Tim Golden Cc: tutor@python.org Subject: Re: [Tutor] PyWin32 - Library of functions to interact with windows? Message-ID: <4ad6ded2.5040...@timgolden.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Katt wrote: Hel

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-15 Thread Tim Golden
Katt wrote: Hello all, I am currently using WinXP and python 2.6.2 I just installed PyWin32 v214 for python 2.6 from the following link: [... snip lots of advice from other people ...] Hi, Katt. Thanks for posting back over here. I must admit, I hadn't realised you were posting to the tutor l

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-14 Thread Alan Gauld
"Scott Nelson" wrote myself and I recently found some C code on the web [2] that does this and I translated that into to Python and pywin. It can be done in about 4 lines of Python. Yes, its much easier than I expected. I had never seen the SetConsoleTextAttribute API call before nor the

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-14 Thread Kent Johnson
On Wed, Oct 14, 2009 at 12:38 PM, Katt wrote: > Searching the web I have found a lot of general information or overly > specific with no way to narrow my search to what I am looking for.  I am not > sure, but it seems very difficult just to search for a way to change the > color of my text. Did

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-14 Thread Scott Nelson
If I may chime in... As Alan said, pywin is basically a thin wrapper around the Win32 API. The Win32 API is very complex. Thus pywin is, by necessity, also very complex. There is documentation for pywin, but it is very minimal as you've probably noticed. If you are a *very* bold beginner with l

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-14 Thread Alan Gauld
"Katt" wrote I am currently using WinXP and python 2.6.2 I just installed PyWin32 v214 for python 2.6 from the following link: Well done! :-) Now I find myself scratching my head and saying to myself: "now what?" Good question. Why did you download and install it? Did you have a specific

Re: [Tutor] PyWin32 - Library of functions to interact with windows?

2009-10-14 Thread Katt
Hello all, I am currently using WinXP and python 2.6.2 I just installed PyWin32 v214 for python 2.6 from the following link: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download Installation seemed to go good as it walked me through while locati