Re: [python-win32] Py2exe and win32com.shell

2008-05-26 Thread Bill Burns
Tejovathi P wrote: Hi all... I created an exe for my application. While generating the exe, py2exe reports that win32com.shell module is not found and continues generating exe. When I try to run the exe, I get an import error that "No module named shell"... Take a look at this page

Re: [python-win32] Building win32 extensions to Python (OT)

2006-06-16 Thread Bill Burns
Jim wrote: > My only hurdle is py2exe can't make a single executable > out of it... Py2exe can create a package with a dozen files, but I was > hoping for a nice tiny bundle. > Hi Jim, Have you tried bundling an app with py2exe and... 1). The resulting exe did not run properly or 2). You did

Re: [python-win32] Outlook Addin Help

2006-05-16 Thread Bill Burns
>>I think the problem is with the ActiveExplorer object(s). When I get >>them "released" or set to None, then Outlook is happy to shutdown >>immediately (even when *other* interfaces are still referenced). If the >>ActiveExplorer object(s) are still referenced, then Outlook stays in >>memory (appar

Re: [python-win32] Outlook Addin Help

2006-05-12 Thread Bill Burns
Bobby wrote: > I honestly can't remember if folder references in VB were required to be > released, or should I say Microsoft "suggested" it. It's thankfully been way > TOO LONG since I last touched VB and Outlook to remember, but I definitely > remember the MAPI namespace references had to be

Re: [python-win32] Outlook Addin Help

2006-05-12 Thread Bill Burns
[Bobby] > Do you by chance still have a reference to the MAPI namespace open or > maybe some folder or item you referenced during execution? Maybe, I'm still getting the hang of this Windows programming thing :-) I do have references to -> the CurrentFolder, Sent Mail Folder and SentMail Items a

Re: [python-win32] Outlook Addin Help

2006-05-12 Thread Bill Burns
>>Object with win32trace dispatcher created (object=None) >>Gateway Count: 2 >>Interface Count: 4 >> >>Is there something I should try to get the Interface Count down to zero? > > > In Spambayes, I previously tried everything I could think of to locate them. > I guess additional analysis is nec

[python-win32] Outlook Addin Help

2006-05-10 Thread Bill Burns
Hello, I've created an addin derived from the example in the ..\win32com\demos directory (outlookAddin.py). I've also taken a look at the source code for the SpamBayes addin. The addin works, but I get an error from Outlook when I close Outlook and then *immediately* try and restart it. The error

Re: [python-win32] Python Programming on Win32 Book

2006-05-02 Thread Bill Burns
> Metz, Bobby W, WWCS wrote: > >>Yeh, Mark's first book seems to be on backorder everywhere. I've been >>trying to get it for some time. B&N and Borders both don't have it and >>tell me backordered as well. >> > > > I sent an email to O'Reilly earlier today. I asked them then they > thought I

Re: [python-win32] curses and _curses

2006-05-01 Thread Bill Burns
> On 2/05/2006 8:16 AM, Dean Allen Provins wrote: > >>Hello: >> >>I just installed the 2.4 version of Python on a WinXP box. I then >>copied over my python code which runs under Linux. This code uses >>"curses.ascii" (isspace specifically). >> >>The Win version of the libraries has a curses dire

Re: [python-win32] Python Programming on Win32 Book

2006-05-01 Thread Bill Burns
Metz, Bobby W, WWCS wrote: > Yeh, Mark's first book seems to be on backorder everywhere. I've been > trying to get it for some time. B&N and Borders both don't have it and > tell me backordered as well. > I sent an email to O'Reilly earlier today. I asked them then they thought I might get the

Re: [python-win32] Python Programming on Win32 Book

2006-04-30 Thread Bill Burns
>>Is there going to be a 2nd Edition of your Python Programming on Win32 >>book? If so, when do you think it will be released? > > > I hope to have this complete this year, so released some time next year. Of > course, that means I need to *start* it this year. I've one or two people > lined up

[python-win32] Python Programming on Win32 Book

2006-04-29 Thread Bill Burns
Mark, Is there going to be a 2nd Edition of your Python Programming on Win32 book? If so, when do you think it will be released? Regardless of a second book, do you recommend I purchase the book directly from O'Reilly? I've not checked other vendors (Amazon, Barnes & Noble, etc). I just want t

Re: [python-win32] Little tool - but very big size... :-(

2006-02-23 Thread Bill Burns
[EMAIL PROTECTED] wrote: > Hi ! > > I have a problem. > I have a little tool that can get data about filesystems and I wrote it in > python. > > The main user asked me a GUI for this software. > > This user is needed a portable program, so I create this kind of the > software with Py2Exe. > > B

Re: [python-win32] Specify number of copies and collate when printing

2006-01-13 Thread Bill Burns
Roger Upole wrote: > You can use win32print.DocumentProperties to set up the printer > parameters. Take a look at \win32\demos\print_desktop.py > for an example. > >Roger > > Thank you, Roger! I'll take a look at the example. Bill ___ Python

[python-win32] Specify number of copies and collate when printing

2006-01-12 Thread Bill Burns
I've built a small app (w/PythonCard) which sends PostScript to a printer. The app uses win32print for printing. I'm using the 205 build. The GUI has a spinner to specify the number of copies and a checkbox to specify if it should collate. The path to the files are in a wxList. To print multiple

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Bill Burns
[Jürgen wrote] > Hi all, > > currently I'm testing a scipt which converts many (>500) ps files to > pdf. I use ghostscript and the conversion is done by win32pipe.popen( > ps2pdf.bat inputfile outputfile). I got the following error message, but > it seems that all files were correctly converted

Re: [python-win32] Retreive paper width from printer

2005-09-21 Thread Bill Burns
[Bill Burns] Is it possible to retrieve the paper width from a printer? [Tim Golden] Unhelpfully (and I'd really like to be helpful), I'd point out that this is really a Win32 question. If you can find out from somewhere how you can do this at all in Windows, then I'm quite hap

Re: [python-win32] Retreive paper width from printer

2005-08-24 Thread Bill Burns
[Roger] You should be able to get that info from the DEVMODE returned by win32print.GetPrinter using level 2. Depending on how your printer driver handles paper settings, look at either FormName, PaperSize, DefaultSource, or PaperLength and PaperWidth. Many printers also have an option to hold jo

[python-win32] Retreive paper width from printer

2005-08-23 Thread Bill Burns
Is it possible to retrieve the paper width from a printer? To be more specific, I have a Savin 2400WD (wide format printer). It is used for printing blueprints. This printer holds two (2) 500' rolls of paper. On the two (2) rolls, there could be any two (2) combinations of the following sizes (wid

Re: [python-win32] Python Win32 Licensing

2005-08-17 Thread Bill Burns
> Hello Bill, > >> I have some questions regarding the Python Win32 packages and licensing. >> I've 'Googled' for an answer and searched the Python Win32 archives but >> haven't come up with anything. >> >> I have the GPL'ed versions of QT 3.3.4 and Pyqt 3.13 installed on my >> Windows box (compil

Re: [python-win32] Python Win32 Licensing

2005-08-17 Thread Bill Burns
>>I have some questions regarding the Python Win32 packages and licensing. >>I've 'Googled' for an answer and searched the Python Win32 archives but >>haven't come up with anything. > > > There are 3 License.txt file in the distribution. IIRC, these were just > MIT-style templates and have very

[python-win32] Python Win32 Licensing

2005-08-16 Thread Bill Burns
release of QT 4 GPL for Windows and with the coming release of Pyqt 4 GPL for Windows, these types of questions will come up more often. Thank you for your help, Bill Burns ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32