472,783 Members | 993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,783 software developers and data experts.

Creating an EXE for XLRD + WIN32COM + wxWidgets application - Help request

I've started learninhg Python and have developed a small Python app
that imports Excel data into an Access mdb/jet database. This
application has dependencies on the following:

XLRD - http://cheeseshop.python.org/pypi/xlrd/0.5.2 - (to read Excel
files)
Python windows extensions - http://starship.python.net/crew/mhammond/win32/
- to use ADO
wxPython GUI toolkit - http://www.wxpython.org/ - for the GUI
interface

Ideally I'd like to create a standalone app that I can deliver to a
client who can will run this on a Windows system that has Access
installed. (Python will not be installed on this system).

I'm planning to use P2YEXE for the build - however I'm not sure if it
is possible to include all the required components for this in a
package. I imagine there may be a few 'gotchas' with this.

Any suggestions on how to do this and are there some additional issues
I might run into?

Thx in advance

BrendanC

Apr 11 '07 #1
2 2384
BrendanC wrote:
I've started learninhg Python and have developed a small Python app
that imports Excel data into an Access mdb/jet database. This
application has dependencies on the following:

XLRD - http://cheeseshop.python.org/pypi/xlrd/0.5.2 - (to read Excel
files)
Python windows extensions - http://starship.python.net/crew/mhammond/win32/
- to use ADO
wxPython GUI toolkit - http://www.wxpython.org/ - for the GUI
interface

Ideally I'd like to create a standalone app that I can deliver to a
client who can will run this on a Windows system that has Access
installed. (Python will not be installed on this system).

I'm planning to use P2YEXE for the build - however I'm not sure if it
is possible to include all the required components for this in a
package. I imagine there may be a few 'gotchas' with this.

Any suggestions on how to do this and are there some additional issues
I might run into?

Thx in advance

BrendanC
I can tell you that I've used py2exe to build quite a number of apps
that depended on many different pieces. I have not experience with XLRD
but the other pieces you use work just fine. Check on www.py2exe.org
for docs an wiki. There is also a newsgroup at gmane.comp.python.py2exe
that you can submit questions to if you like. I know that it is
monitored by Mark Hammond, Thomas Heller, and other users of py2exe
that can help you.

-Larry
Apr 12 '07 #2
On Apr 12, 11:58 pm, Larry Bates <larry.ba...@websafe.comwrote:
BrendanC wrote:
I've started learninhg Python and have developed a small Python app
that imports Excel data into an Access mdb/jet database. This
application has dependencies on the following:
XLRD -http://cheeseshop.python.org/pypi/xlrd/0.5.2 - (to read Excel
files)
Python windows extensions -http://starship.python.net/crew/mhammond/win32/
- to use ADO
wxPython GUI toolkit -http://www.wxpython.org/- for the GUI
interface
Ideally I'd like to create a standalone app that I can deliver to a
client who can will run this on a Windows system that has Access
installed. (Python will not be installed on this system).
I'm planning to use P2YEXE for the build - however I'm not sure if it
is possible to include all the required components for this in a
package. I imagine there may be a few 'gotchas' with this.
Any suggestions on how to do this and are there some additional issues
I might run into?
Thx in advance
BrendanC

I can tell you that I've used py2exe to build quite a number of apps
that depended on many different pieces. I have not experience with XLRD
but the other pieces you use work just fine.
xlrd [save wear and tear on the shift key!] up to version 0.6.1 at
least is a pure-Python package with no dependencies on 3rd-party
modules/packages and is very unlikely to cause grief with py2exe; I'd
like to hear any evidence to the contrary PDQ.

The OP is best advised to "just do it" :-)

HTH,
John

Apr 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: tyler.schlosser | last post by:
Hi there, I am trying to launch a program called AmiBroker using the command: AB = win32com.client.Dispatch("Broker.Application") However, I have a dual-core CPU and would like to launch two...
3
by: implicate_order | last post by:
Greetings, I'm new to python and am in the process of writing a script to parse some CSV data, spread it across multiple Excel worksheets and then generate charts. I searched the internet to...
2
by: Ray | last post by:
Hi, I need to use cell's background color. when I record a macro from excel, it shows: Rows("7:7").Select With Selection.Interior .ColorIndex = 8 .Pattern = xlSolid
2
by: kylancal | last post by:
I am trying to read an Excel book with XLRD and I am getting the following error Traceback (most recent call last): File "C:\temp\ReadGoldmanExcelFiles.py", line 62, in <module> startRow = 0,...
1
by: JYOUNG79 | last post by:
When running 'python setup.py install' to install items for xlrd to work, does anybody know what items are installed and where items are installed at on a Mac (OS 10.4)? I'm assuming it mainly...
3
by: Chanman | last post by:
This is probably a simple question to most of you, but here goes. I've downloaded the xlrd (version 0.6.1) module and placed in in the site-packages folder. Now, when I write a script, I type: ...
11
by: Bill Davy | last post by:
I am trying to edit Contacts in Outlook. This is so I can transfer numbers from my address book which is an Excel spreadsheet to my mobile phone. I came across the following snippet of code which...
1
by: Edwin.Madari | last post by:
here is working code that will read & display contents of all rows & columns in all the sheets, you need xlrd 0.6.1 import xlrd, os, sys book = xlrd.open_workbook(sys.argv) print "The number...
2
by: patrick.waldo | last post by:
Hi all, I am trying to figure out a way to read colors with xlrd, but I did not understand the formatting.py module. Basically, I want to sort rows that are red or green. My initial attempt...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.