[python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Arve Knudsen
Hello, We're planning to embed Python in our application, which mainly runs on Windows. To avoid dependencies, we want to bundle Python. Do any of you know of any resources on the Web describing best practices for bundling Python with an application, particularly on Windows? I have googled a bit,

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Paul Koning
We've done that by using py2exe to build the executable program, then take the output from that process and give it to an installer in the conventional Windows way. Works nicely, no external dependencies at all (it's all self-contained). You can even avoid the installer at a small cost in runtime

Re: [python-win32] Python ADO and Date Time Field in Access

2008-01-25 Thread bob gailer
leegold wrote: > Hi, > > Given an MS-Access table with a date type field with a value of: > 12:00:00 AM - just"12:00:00 AM", there's nothing else in the field. > As you note later nothing "visible" If you run the following query: SELECT Year([field1]) AS Expr1, Month([field1]) AS Expr2, Day([fie

[python-win32] Python ADO and Date Time Field in Access

2008-01-25 Thread leegold
Hi, Given an MS-Access table with a date type field with a value of: 12:00:00 AM - just"12:00:00 AM", there's nothing else in the field. I want to print exactly what's in the field, ie. "12:00:00 AM". What I get printed is: 12/30/0/ 00:00:00 I try: import win32com.client from win32.client imp

Re: [python-win32] Changing a drive letter

2008-01-25 Thread Mike Driscoll
Tim, > Date: Thu, 24 Jan 2008 20:55:55 + > From: Tim Golden <[EMAIL PROTECTED]> > Subject: Re: [python-win32] Changing a drive letter > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Paul Koning wrote: > > I agre

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Tim Roberts
Arve Knudsen wrote: > We're planning to embed Python in our application, which mainly runs > on Windows. To avoid dependencies, we want to bundle Python. Do any of > you know of any resources on the Web describing best practices for > bundling Python with an application, particularly on Windows? I

Re: [python-win32] winshell error

2008-01-25 Thread Mike Driscoll
> -Original Message- > From: Kevin Horn [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 24, 2008 4:44 PM > To: Mike Driscoll > Subject: Re: [python-win32] winshell error > > I don't suppose anyone knows how to do a logout script? > There are some > things that wo

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Ludovic Reenaers
For info Py2exe provides same functionalities for linux package generation aswell, in case your app' has to be distributed on other platforms. Ludo -- From: "Paul Koning" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2008 12:45 PM To: "Arve Knudsen"

Re: [python-win32] Changing a drive letter

2008-01-25 Thread Mike Driscoll
Roger, > > Message: 5 > Date: Thu, 24 Jan 2008 17:04:33 -0500 > From: "Roger Upole" <[EMAIL PROTECTED]> > Subject: [python-win32] Re: Changing a drive letter > To: > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original >

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Mike Driscoll
Arve, > > Message: 7 > Date: Fri, 25 Jan 2008 10:01:12 +0100 > From: "Arve Knudsen" <[EMAIL PROTECTED]> > Subject: [python-win32] Embedding/bundling Python, best practices? > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > >

Re: [python-win32] Changing a drive letter

2008-01-25 Thread Tim Golden
Mike Driscoll wrote: > You are correct. We do not have Win2k3 on any desktops, nor are we running > Vista. We have stuck with XP. Since I work for the government, we have > enough old equipment and software that upgrading would not only be too > costly monetarily but also in time and aggravation. B