Re: [python-win32] ANN: PyGUI Mailing List

2009-11-28 Thread James Matthews
There are quite a few people that use Gmane. I am a bit of a user (slowly getting used to it) and it shouldn't be much of an issue. On Sat, Nov 28, 2009 at 6:15 PM, Greg Ewing wrote: > Thomas Heller wrote: > > Is the list available on gmane? >> > > I have received a reply from gmane saying that

[python-win32] Fwd: URGENT! Changing IE PAC Settings with Python

2009-05-20 Thread James Matthews
-- Forwarded message -- From: K-Dawg Date: Wed, May 20, 2009 at 7:06 PM Subject: URGENT! Changing IE PAC Settings with Python To: python-l...@python.org Hello, Thanks for any response. I am in a crisis where one of our networking guys moved where our PAC file is housed. There

[python-win32] Fwd: Autosizing column widths in Excel using win32com.client ?

2009-05-17 Thread James Matthews
-- Forwarded message -- From: Date: Fri, May 15, 2009 at 7:45 PM Subject: Autosizing column widths in Excel using win32com.client ? To: python-l...@python.org Is there a way to autosize the widths of the excel columns as when you double click them manually? -- http://mail.python.

[python-win32] Fwd: Modifying the system menu

2008-09-16 Thread James Matthews
-- Forwarded message -- From: <[EMAIL PROTECTED]> Date: Tue, Sep 16, 2008 at 8:31 PM Subject: Modifying the system menu To: [EMAIL PROTECTED] Hi all, I am trying to modify the system menu of all the applications in my machine. For example say - I am creating multiple desktop

[python-win32] Fwd: Renaming Excel Spreadsheets

2008-08-26 Thread James Matthews
-- Forwarded message -- From: Greg Lindstrom <[EMAIL PROTECTED]> Date: Tue, Aug 26, 2008 at 11:54 AM Subject: Renaming Excel Spreadsheets To: [EMAIL PROTECTED] Hello, I am working with Python to create Excel spreadsheets and have run into a couple of problems I hope you can help

Re: [python-win32] help with parsing email

2008-08-14 Thread James Matthews
It seems very simple split it and then rfind to the first slash and slice the rest. On Thu, Aug 14, 2008 at 9:19 AM, Tim Golden <[EMAIL PROTECTED]> wrote: > Ahmed, Shakir wrote: > >> I need to grab/parse numeric numbers such as app number from incoming >> emails stored in Microsoft Outlook (Micro

Re: [python-win32] Request for comments

2008-05-25 Thread James Matthews
Great site. I like the idea and am going to start posting some code.. On Sat, May 24, 2008 at 9:12 PM, Tim Golden <[EMAIL PROTECTED]> wrote: > bob gailer wrote: > >> Tim Roberts wrote: >> >>> bob gailer wrote: >>> Please omit the space before ( in code. I find that very distracting. >>>

Re: [python-win32] Iron Python and Visual Basic 2005 (or 2008) Express

2008-03-04 Thread James Matthews
Yes because it uses the CLR! On Tue, Mar 4, 2008 at 10:57 PM, Dick Moores <[EMAIL PROTECTED]> wrote: > Years ago I learned a bit of Visual Basic (VB6, > IIRC) at a community college. About a year ago I > downloaded the free Visual Basic 2005 Express > (

Re: [python-win32] Finding users home directories

2008-01-13 Thread James Matthews
I guess that would help! :) On Jan 12, 2008 11:50 PM, Guilherme Polo <[EMAIL PROTECTED]> wrote: > > 2008/1/12, Giampaolo Rodola' <[EMAIL PROTECTED]>: > > 2008/1/12, Guilherme Polo <[EMAIL PROTECTED]>: > > > 2008/1/12, Giampaolo Rodola' <[EMAIL PROTECTED]>: > > > > 2008/1/12, Giampaolo Rodola' <[EM

[python-win32] Nice Python Cartoon!

2007-12-08 Thread James Matthews
http://xkcd.com/353/ -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http://www.goldwatches.com ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32 and .NET

2007-11-14 Thread James Matthews
You can also try IronPython On Nov 14, 2007 4:38 PM, Michel Claveau <[EMAIL PROTECTED]> wrote: > Hi! > > For access to dotNET resources from Python, a good way : > http://sourceforge.net/projects/pythonnet/ > > @+ > > Michel Claveau > > > ___

Re: [python-win32] COM server support on Vista

2007-11-05 Thread James Matthews
all fine on my end...! On 11/5/07, Michel Claveau <[EMAIL PROTECTED]> wrote: > > Hi! > > My COM servers, in Python, run without problem on Vista. I had also try : > plug-in in Internet-Explorer ; plug-in in Excel. All is OK. > > @-salutations > > Michel Claveau > >

[python-win32] Python Flagged as a Virus by AVG

2007-07-20 Thread James Matthews
I was reading a Microsoft news group and came across this post Got this during a scan of my computer: infected: object C:\hp\bin\python-2.2.3.exe:\comparisons.html result: trojan horse PHP/MPack.B status: infected embedded object inefected: object C:\hp\bin\python-2.2.3.exe What can/should

[python-win32] Dispatch Error

2007-07-09 Thread James Matthews
I see people using this code however it doesn't seem to work for me! Any help Thanks James Code: from win32com.client import constants, Dispatch outlook = Dispatch("Outlook.Application") Error com_error: (-2146959355, 'Server execution failed', None, None) Traceback (innermost last): File "

Re: [python-win32] urllib and Outlook 2007

2007-07-09 Thread James Matthews
Thank you Larry however those websites don't help me when i want to be able to retrieve email content. On 7/9/07, Larry Bates <[EMAIL PROTECTED]> wrote: James Matthews wrote: > Dear List > > I have two questions. > > > 1. Is there any way to change the user-ag

[python-win32] urllib and Outlook 2007

2007-07-09 Thread James Matthews
Dear List I have two questions. 1. Is there any way to change the user-agent when using urllib.urlopenwithout having to subclass it? 2. I cannot seem to find anything on reading outlook email using COM everything i find is out dated can anyone give me some pointers or a place to find some info

Re: [python-win32] Threading Issue

2007-07-03 Thread James Matthews
Thanks On 7/3/07, Jim Vickroy <[EMAIL PROTECTED]> wrote: James Matthews wrote: Thanks Emlyn Just one more issue i have here. When i pass a string as an argument to the thread it seems to call the method returning the string as a tuple and i get an error that the method gets 48 argumen

Re: [python-win32] Threading Issue

2007-07-03 Thread James Matthews
, Emlyn Jones <[EMAIL PROTECTED]> wrote: > On 7/3/07, Tim Roberts <[EMAIL PROTECTED]> wrote: > James Matthews wrote: > > > So i need to make the list a global variable > > > > No, that's not what he did at all. The names just happened to be the > >

Re: [python-win32] Threading Issue

2007-07-03 Thread James Matthews
Ok i have resolved the issue thank you! James On 7/3/07, Tim Roberts <[EMAIL PROTECTED]> wrote: James Matthews wrote: > So i need to make the list a global variable No, that's not what he did at all. The names just happened to be the same, that's all. Consider it th

Re: [python-win32] Threading Issue

2007-07-03 Thread James Matthews
So i need to make the list a global variable On 7/3/07, Jim Vickroy <[EMAIL PROTECTED]> wrote: James Matthews wrote: Dear List. When spawning a thread using the threading module syntax new_thread = threading.Thread(target=function_returning_a_list) How can i get the list that this fu

[python-win32] Threading Issue

2007-07-03 Thread James Matthews
Dear List. When spawning a thread using the threading module syntax new_thread = threading.Thread(target=function_returning_a_list) How can i get the list that this function is supposed to return. Thanks James -- http://www.goldwatches.com/watches.asp?Brand=14 http://www.jewelerslounge.com ___

Re: [python-win32] C# Vs Python

2007-04-02 Thread James Matthews
I am looking into IronPython however first i am going to learn .NET to see what it has to offer On 4/2/07, Tim Roberts <[EMAIL PROTECTED]> wrote: James Matthews wrote: > Thank you Bob but does python's windows extensions really have the > power of the .NET classes It depends

Re: [python-win32] C# Vs Python

2007-04-02 Thread James Matthews
Thank you Bob but does python's windows extensions really have the power of the .NET classes On 4/2/07, Bob Gailer <[EMAIL PROTECTED]> wrote: James Matthews wrote: > I am not asking for a very detailed comparison that i know no one will > give i am just wondering for windows

[python-win32] C# Vs Python

2007-04-02 Thread James Matthews
I am not asking for a very detailed comparison that i know no one will give i am just wondering for windows development which language would be better? What i mean is GUI apps, interfacing with excel,word and outlook etc.. Thanks James -- http://www.goldwatches.com/watches.asp?Brand=39 http://ww

Re: [python-win32] looking for pythonwin gui tutorials

2007-03-16 Thread James Matthews
I use wxPython and really like it! There are some books for it and they should have some info on there site On 3/16/07, Grzegorz Adam Hankiewicz <[EMAIL PROTECTED]> wrote: Ben wrote: Hi all, I have been using Python just for two weeks, and I feel very comfortable with it. The only stumbling

[python-win32] The Wiki is Ready

2007-03-08 Thread James Matthews
Dear Everyone! The Wiki is ready! (Had to get to the point!) =) If anyone has any questions,comments,complaints,suggestions please email them to me! Thanks James -- http://www.goldwatches.com/watches.asp?Brand=39 http://www.wazoozle.com ___ Python-w

Re: [python-win32] Wiki

2007-03-06 Thread James Matthews
Mark I added a section for editing pages! (the mark-up) and to create pages all you need to do it search for the title and click create the page! Tim i am working on the OpenID ext. It seems it doesn't support the version of mediawiki that we have but i am working on it! P.S Tomorrow i am making

Re: [python-win32] Wiki

2007-03-05 Thread James Matthews
Changed to MediaWiki sorry i only informed Bob On 3/5/07, Michel Claveau <[EMAIL PROTECTED]> wrote: Hi! >>> I see no way to add pages +1 Michel Claveau ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinf

Re: [python-win32] Media Wiki

2007-03-05 Thread James Matthews
I would agree however i do like the fedora core website which runs moin moin On 3/5/07, David Fraser <[EMAIL PROTECTED]> wrote: Graham Bloice wrote: > James Matthews wrote: > >> I will leave the final verdict to the great users of the python mailing >> list! I will deci

[python-win32] Wiki

2007-03-05 Thread James Matthews
After fighting with my Hosting company to support and give me a shell I got nowhere for a week! so i have installed TikiWiki and hope it works out well... (if anyone has a better one with a simple installation please tell me) Anyways here is the site www.wazoozle.com please take things away!

Re: [python-win32] Media Wiki

2007-02-23 Thread James Matthews
I will leave the final verdict to the great users of the python mailing list! I will decide on later based on the majority! James On 2/23/07, Tim Golden <[EMAIL PROTECTED]> wrote: Mark Mc Mahon wrote: > On 2/23/07, James Matthews <[EMAIL PROTECTED]> wrote: >> Which Wi

Re: [python-win32] Media Wiki

2007-02-23 Thread James Matthews
Thank you Mark and Tim! Which Wiki platform should we use? On 2/23/07, Tim Golden <[EMAIL PROTECTED]> wrote: Mark Mc Mahon wrote: > + Hints on how to convert VB to Python (might be somewhere else already) > > + Hints on how to convert C to python (ctypes) > > + Advanced examples of how to cre

[python-win32] Media Wiki

2007-02-22 Thread James Matthews
A while ago the fact was brought up that we need a wiki for all the pythonwin32 info! I have acquired a domain name and wish to host this wiki but i want to know what people will want and i need people that will write articles please emails me! Thanks James -- http://www.goldwatches.com/watches.

Re: [python-win32] question about DynamicPolicy.py

2007-02-04 Thread James Matthews
When is the next book coming out? On 2/4/07, Mark Hammond <[EMAIL PROTECTED]> wrote: That's correct - it is no longer necessary to convert unicode to ascii for pywin32's sake. You may have other reasons to perform either that conversion or a completely different conversion, but again, not bec

Re: [python-win32] iTunes COM using Python win32

2007-02-01 Thread James Matthews
Is it running the same version of itunes? On 2/1/07, Mark Hammond <[EMAIL PROTECTED]> wrote: I'd guess that one box has had makepy run for that type-library, but the other hasn't. Look into using the win32com.client.gencache module to programatically generate makepy support, and it should the

Re: [python-win32] VBA IDE Intellisense to work with python COM server?

2007-01-28 Thread James Matthews
Thanks On 1/26/07, Tim Roberts <[EMAIL PROTECTED]> wrote: wccppp wrote: > > I created a simple COM server following the sample DynamicPolicy.py in > Mark's book. When testing it with VBA, I noticed intellisense/calltip > does not work. Is this how it is supposed to be? Any way to get it > to

Re: [python-win32] USB Power Off from Python

2006-12-14 Thread James Matthews
ok thanks On 12/14/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote: At Wednesday 13/12/2006 23:48, James Matthews wrote: >However we see that you can unmount it ans sometimes it will be turned off I think it's some kind of "soft" turn off; you send the device a

Re: [python-win32] Python Windows on Wikipedia

2006-12-14 Thread James Matthews
I agree it will have to address every concern out there but in the end i think it will work! On 12/14/06, Bokverket <[EMAIL PROTECTED]> wrote: That's an absolutely fabolous idea. In particular, a lot of more general info on accessing Windows from Python (and maybe Python from a typical app like

Re: [python-win32] Python-win32 Digest, Vol 45, Issue 13

2006-12-13 Thread James Matthews
Wikipedia just opened a new hosting platform i will try to get a site and make a media wiki so people in the python world can read/write on win32 API's Etc. Although it would kill allot of the traffic on this list i am sure no one would mind! On 12/13/06, Tony Cappellini <[EMAIL PROTECTED]> w

Re: [python-win32] USB Power Off from Python

2006-12-13 Thread James Matthews
However we see that you can unmount it ans sometimes it will be turned off On 12/13/06, Tim Roberts <[EMAIL PROTECTED]> wrote: Sajjad Hussain wrote: > I am using a USB port to power my USB device that > takes 5V DC power. My device works fine and is powered > on properly. I am using small s

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread James Matthews
Can you just call a GUI api that interfaces directly with the graphics card? On 12/6/06, Tim Roberts <[EMAIL PROTECTED]> wrote: Ray Schumacher wrote: > I've been mulling screen capture code. I tried PIL's > ImageGrab().grab() (with pymedia) but find PIL's method to be pretty > slow, ~4grabs per

Re: [python-win32] Compiling a Python Windows application

2006-12-06 Thread James Matthews
PYPY would help because it is said to compile python programs what i would also recommend is prex and pysco On 12/4/06, Tim Roberts <[EMAIL PROTECTED]> wrote: Bob Gailer wrote: >> So maybe try your Python suggestion, if I can get it to work. You showed it >> as Python being started first and t

Re: [python-win32] Question about os.system

2006-12-06 Thread James Matthews
Try Exec with the file handle On 12/6/06, Tim Roberts <[EMAIL PROTECTED]> wrote: Wu, Huaxing (STP) wrote: > > Hi, all, > > I have some problem using os.system when a command that spawned by > os.system itself tries to use os.system. It may be easier to explain > with an example. > > Assume I ha

Re: [python-win32] Compiling a Python Windows application

2006-11-27 Thread James Matthews
thanks always here to help On 11/27/06, Bob Gailer <[EMAIL PROTECTED]> wrote: Bokverket wrote: > I did program a lot in VB's earlier versions, but it has grown... My > reason > for not considering VB was that the actual processing would make excellent > use of the Python collection objects /dic

Re: [python-win32] Compiling a Python Windows application

2006-11-25 Thread James Matthews
Try pypy On 11/24/06, Bob Gailer <[EMAIL PROTECTED]> wrote: Bokverket wrote: > I wrote: > > If you don't want to distribute the Python interpreter along with your app, > Is there a well-working way of compiling/byte-coding/whatever a Python app > and call it from within Microsoft Word? What run

Re: [python-win32] Excel COM-object for cursor position UPDATE

2006-11-24 Thread James Matthews
Thanks helped me i was just working on that also! On 11/23/06, Bob Gailer <[EMAIL PROTECTED]> wrote: Please reply to the list as well as me. Others learn and sometimes offer help. Rikard Bosnjakovic wrote: > > I'm an utter novice of COM/DOM and I really don't have much knowledge > about it. I k

Re: [python-win32] RE working in interactive but not in regular code

2006-11-18 Thread James Matthews
Sorry i was in a bit or a rush def next_page_finder(site): site = urlopen(site).read() next_site_pages = findall(r'\?Brand=\d+\&pg=\d+',site) return next_site_pages On 11/17/06, Bob Gailer <[EMAIL PROTECTED]> wrote: James Matthews wrote: > I have this R

[python-win32] RE working in interactive but not in regular code

2006-11-17 Thread James Matthews
I have this RE things= re.findall(r'\?Brand\=\w+\&pg=\w+',site) now when i run it against a site it returns everything in a list ( in the interactive interpreter however when i run it start alone it won't work?? Why? -- http://www.goldwatches.com ___ P

[python-win32] Retaining a value during a recursive function

2006-11-16 Thread James Matthews
The function just overwrites the list in my function is there anyway i can fix this! def find_all_items(site): site = urllib.urlopen(site).read() all_items = re.findall(r'watch\.asp\?\w+\=\w*\&\w*\=\w+',site) next_page = re.findall(r'Watches\.asp\?\w+\=[0-9]+\&pg\=\w+',site) try:

Re: [python-win32] COM interface specs

2006-11-14 Thread James Matthews
There should be a mediawiki on this stuff already! On 11/14/06, Roger Upole <[EMAIL PROTECTED]> wrote: Rikard Bosnjakovic wrote: > Greetings > > I'm a Python-programmer since 6 years, and now is the first time I'm > about to program under the Windows environment. > > What I am about to do now i

Re: [python-win32] Win32_GroupUser

2006-11-13 Thread James Matthews
There should be a central site with all this information!On 11/13/06, Tim Golden <[EMAIL PROTECTED]> wrote: Tim Roberts probo.com> writes: >> Tim Golden wrote:> > | Working off a large-ish domain, I can't seem to find a form of:> > |> > | import wmi> > | conn = wmi.WMI ()> > | stuff = conn.Win32_G

Re: [python-win32] Suggested change to document.py

2006-11-02 Thread James Matthews
Yep alot of things from *nix are in windows but they are not very accepted!On 11/2/06, Gabriel Genellina <[EMAIL PROTECTED] > wrote:At Thursday 2/11/2006 18:52, Gerard Brunick wrote:> > ...I run windows XP, and I keep > > python scripts all over my drive.  Rather than adding all sorts of> > subdire

Re: [python-win32] win32pdh problem on Windows Server 2003

2006-11-01 Thread James Matthews
You can just use the keyword native if you want none english version!On 11/1/06, S.Ramaswamy <[EMAIL PROTECTED] > wrote:>> Windows error messages are better handled in hex.  -1073738810 is > CBC6, and a quick Google on that shows it is basically "performance> counter not found".>Thanks for the

Re: [python-win32] How to get windows basic system informations like "Organization", and "User"

2006-11-01 Thread James Matthews
Thanks!On 10/30/06, durumdara <[EMAIL PROTECTED]> wrote: Hi !Many programs can present these basic informations: who's the user thatinstall OS, and what is the name of it's organization.I want to get these infos.Can anyone help me how can I do it ? Thanks for it:dd__

Re: [python-win32] Waiting for Wireless

2006-10-28 Thread James Matthews
Nahh it isn't that bad.On 10/27/06, Graham Bloice <[EMAIL PROTECTED]> wrote: > > Silly question...> >> > What is the friendly name of an network adapter? > >> > If it was Unix, I would say eri0, etc...  But I can't think of a> > "friendly" name under Windows...>> I'm not sure where I got this t

Re: [python-win32] disable mouse/keyboard input

2006-10-21 Thread James Matthews
Here is the case whats the issue when you have an app and you don't use stdin... or inputOn 10/20/06, Gabriel Genellina < [EMAIL PROTECTED]> wrote:At Friday 20/10/2006 12:51, Axiom X11 wrote: >I'd like to be able to ignore all user input while a vidoe is>playing, and then be able to allow the u