Re: [python-win32] Equivalence of win32com.client under Linux

2017-03-23 Thread Graeme Glass
Are you running this under WINE? On 22 March 2017 at 19:23, Brahim EL ALLIOUI wrote: > Hello, > > I use win32com.client to integrate a C # dll under python. This works well > under windows > > From win32com.client import Dispatch, pythoncom > From ctypes import cdll >

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Graeme Glass
Yes it is. http://www.py2exe.org/ http://cx-freeze.sourceforge.net/ On 6 January 2015 at 14:50, John Sampson jrs@ntlworld.com wrote: Is it possible to create a standalone executable (.EXE file) from a Python script? By 'standalone' I mean an executable file that can be placed in any

Re: [python-win32] module namedtuple no found on Python Win 2.5.4

2010-06-03 Thread Graeme Glass
On Thu, Jun 3, 2010 at 9:30 AM, Mauricio Martinez Garcia morfeo...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i have an problem at import module collections: #=== Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54)

Re: [python-win32] set wait time max

2010-05-18 Thread Graeme Glass
On Tue, May 18, 2010 at 9:22 AM, pacopyc paco...@gmail.com wrote: Hi, I've a question for you. I'd like to call a function and waiting its return value for a time max (30 sec). The function could not respond and then I must avoid to wait for infinite time. Can you help me? Thanks It

Re: [python-win32] adodbapi-2.1 release candidate 1 ready for testing

2010-05-17 Thread Graeme Glass
On Sat, May 15, 2010 at 1:25 PM, Trong Hai batuoc20...@yahoo.com wrote: Hello! Excuse me, I have a problem with python program, I don’t know fix it . Do you can help me? I very thank you. My problem is “ ImportError: No module named adodbapi ” when I run file “test_tsqlunit.py” and another. I

Re: [python-win32] Tutorial Developing GUI using python-win32

2010-05-08 Thread Graeme Glass
On Sat, May 8, 2010 at 10:58 AM, Mico Siahaan mico_siah...@yahoo.com wrote: Hi all, are there any tutorials in developing GUI using python-win32? rgds, Mico If you going to be doing win32 programming I highly recommend you buy this book.

Re: [python-win32] python win32api maya2008

2010-04-21 Thread Graeme Glass
On Wed, Apr 21, 2010 at 9:05 AM, kNish singhai.n...@gmail.com wrote: Hi, How is it possible to run import win32api successfully on a 64bit maya version 2008? The following error occurs: Error: No module named win32api Traceback (most recent call last): File , line 1, in ImportError:

Re: [python-win32] Sourceforge pywin32 site seems to be down

2009-07-07 Thread Graeme Glass
On Tue, Jul 7, 2009 at 10:16 AM, Fadhley Salim fadhley.sa...@uk.calyon.comwrote: https://sourceforge.net/projects/pywin32/ The Sourceforge PyWin32 download site seems to have been down for a very long time. Is there an alternate source of downloads? Thanks Site working fine for me. I

Re: [python-win32] executing dos commands

2009-03-06 Thread Graeme Glass
On Fri, Mar 6, 2009 at 1:29 PM, solomon.zewdie.al...@zf.com wrote: Hi folkz, just a simple question for a python guru:-) How can I execute dos commands via python? The command exec(chdir \Dir1\dir2\..) doesn't do it. Many thanks in advance! Solomon

Re: [python-win32] Play MP3s from Windows, Just Works

2008-08-13 Thread Graeme Glass
On Wed, Aug 13, 2008 at 4:56 PM, Vernon Cole [EMAIL PROTECTED] wrote: Where can one find documentation of MCI? On Tue, Aug 12, 2008 at 4:30 PM, Michel Claveau [EMAIL PROTECTED] wrote: Hi! This is perfect. Works like a charm ... Thank you very much! Thanks for return. For info, MCI

Re: [python-win32] when was pythonwin develop?

2008-08-01 Thread Graeme Glass
On Thu, Jul 31, 2008 at 11:39 PM, Emanuel Sotelo [EMAIL PROTECTED]wrote: hello, everybody perhaps somebody already ask this question but a i dont now the answer at what year was pythonwin develop, or at what year was his first release? is Mark Hammond the creator of pythonwin or was

Re: [python-win32] Request for comments

2008-05-23 Thread Graeme Glass
On Thu, May 22, 2008 at 6:21 PM, Tim Golden [EMAIL PROTECTED] wrote: I have a request of the python-win32 community. Have a look at: http://timgolden.me.uk/python-on-windows/ In particular, click through to the section on the Registry (which is the only section which has anything useful in

Re: [python-win32] Fwd: Using Python and WMI for multiple machines

2008-02-20 Thread Graeme Glass
code - untested import wmi servers = open (c:/servernames.txt).read ().splitlines () for server in servers: wmi_connection = wmi.WMI (server) with open (%s-services.log % server, w) as f: for service in wmi_connection.Win32_Service (): f.write (%s\t%s\n %

Re: [python-win32] Fwd: Using Python and WMI for multiple machines

2008-02-20 Thread Graeme Glass
If I am not mistaken, you can use the with statement with python 2.4 from __future__ import with_statement Um, forget that. That is 2.5 like you said. Sorry. Don't have 2.4 installed anymore to test my brain farts before sending them on. *Jedi mind trick* You never saw this mail

Re: [python-win32] Word FormField types

2008-02-04 Thread Graeme Glass
On Feb 5, 2008 12:01 AM, Graessle, Glenn (FC COE) [EMAIL PROTECTED] wrote: Is there an import file that defines the FormField types symbolically? For example, Word Checkbox has the value of 71 for it's type. *Glenn Graessle* Flight Controls CoE Honeywell International, Inc. 23500 West

Re: [python-win32] Reading .py or .pyc from an excel sheet

2008-01-31 Thread Graeme Glass
On Jan 31, 2008 12:36 PM, Pallavi Apotikar [EMAIL PROTECTED] wrote: Actually, I have an excel sheet, where I am entering the data. I am reading the entered data in python. excel takes data as a string. before passing it to python, i wanted to check whether the entered data(value) is a

Re: [python-win32] Check if user has windows administrator privilege

2008-01-14 Thread Graeme Glass
On Jan 14, 2008 8:55 PM, Patrick Li [EMAIL PROTECTED] wrote: Hi, Does anyone know if there's a way to programmatically check to see if a user has windows administrator privilege? I need this to work in WinXP and Vista. Thanks in advance, Patrick

Re: [python-win32] pywintypes Error

2008-01-08 Thread Graeme Glass
On Jan 8, 2008 11:20 AM, Antony Joseph [EMAIL PROTECTED] wrote: Hi, Can anyone help me , what the problem ? I am running this code in windows xp and outlook also installed in my machine. from win32com.client import Dispatch s=Dispatch('Mapi.Session ') Traceback (most recent call last):

Re: [python-win32] Writing .NET component in Python

2007-09-06 Thread Graeme Glass
On 9/6/07, Larry Bates [EMAIL PROTECTED] wrote: Does anyone have any insight where I would start looking for information on writing .NET compatible components in Python. I have a COM object that is written in Python and some developers have asked for a .NET port of it. I spent some time in

Re: [python-win32] [ looking for beginer python newsgroups ]

2007-08-03 Thread Graeme Glass
On 8/3/07, scripteaze [EMAIL PROTECTED] wrote: Hello all, im new to the python scene and was wondering if there were any beginer python newsgroups similar to this. I did look in the python.orglist or newsgroups and did not see one avail. THnX -- -=scripteaze=- For general python

Re: [python-win32] Office Research Task Pane from Python

2007-06-14 Thread Graeme Glass
On 6/14/07, Mickel Grönroos [EMAIL PROTECTED] wrote: Hi! I am thinking about fiddling with the Research Task Pane in Microsoft Office using Python. The goal is to create a simple, generic module that can be used for building various web services (in Python) for the Research Task Pane.

Re: [python-win32] standalone python scripting engine

2007-04-16 Thread Graeme Glass
Maybe Portable Python (http://www.portablepython.com/, http://www.voidspace.org.uk/python/movpy/)? Or you could write a python script that takes a python script as an argument and executes it, then freeze that using py2exe (http://www.py2exe.org/) or cx_freeze

Re: [python-win32] adding icon in an exe

2006-05-04 Thread Graeme Glass
script. Am i doing something wrong? I am using python 2.4.3 pywin32 build 208, running on WinXP pro. Thanks, Graeme On 5/3/06, Graeme Glass [EMAIL PROTECTED] wrote: Great, thanks to the both of you, very helpful!! I had found a interim work around, (not programmable, using GoRC and Resource

[python-win32] adding icon in an exe

2006-05-02 Thread Graeme Glass
Greetings, Does anyone know of a way to add an icon to an existing .exe file on win32 platform using win32all package? Thanks. Graeme ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Sparse files and Pickle

2005-04-03 Thread Graeme Glass
Could anyone tell me if it is possible to create a sparse file on win32 platform using python, and if so how? And just out of interest, what is the practical limit for pickling an object? I pickled a 89MB binary read from a disk file, and although it worked, hogged my PC for about 8minutes

[python-win32] Sparse files and Pickle

2005-04-02 Thread Graeme Glass
Is there anyway to create a sparse file win32 platform using python? And out of interested what is the practical limit for pickling an object? I used pickle.dump() on a 89MB object (a binary read from a disk file) and although it worked, my PC was pretty unusable for the 8 minutes it took to