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 greg.ew...@canterbury.ac.nzwrote: Thomas Heller wrote: Is the list available on gmane? I have received a reply

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

2009-05-20 Thread James Matthews
-- Forwarded message -- From: K-Dawg kdaw...@gmail.com 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

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

2009-05-17 Thread James Matthews
-- Forwarded message -- From: nonse...@mynonsense.net 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

[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 desktops

[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 (Microsoft

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. Example: print

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' [EMAIL PROTECTED]:

[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 ___

[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] 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

[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

[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] 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 function

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 this way: import

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 arguments

[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

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 development which

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

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

[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-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 decide on later based

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 create

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] 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 command to shutdown self

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

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]

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 then

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-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

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-time

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 know

[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 ___

[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 is to

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 timr at 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 =

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

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 tip. You

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 terminus from, maybe

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 isplaying, and then be able to allow the user