473,378 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

[Mac OS X] How to create double-clickable Python scripts

Hello,

I've written a couple of Python scripts on OS X that I would like to
start from the Finder by doing a double-click on them. I guess I have to
create a Package.

Does anybody know an easy way to create such a package? Or where can I
find more information about how to do this manually?
Thanks,

Mark
Jul 18 '05 #1
2 3151
In article <cj*************@news.t-online.com>, Markus <m.*****@gmx.de>
wrote:
Hello,

I've written a couple of Python scripts on OS X that I would like to
start from the Finder by doing a double-click on them. I guess I have to
create a Package.

Does anybody know an easy way to create such a package? Or where can I
find more information about how to do this manually?


If all you want to do is make a simple script that does nothing more
than standard input/output, you can use PyOXIDE's "Build Consolet"
command to make a simple little "console applet".
<http://projects.gandreas.com/pyoxide>

If you want a full blown UI, you'll probably want to use PyObjC and
bundlebuilder to actually make the final app.
Jul 18 '05 #2
Glenn Andreas wrote:
In article <cj*************@news.t-online.com>, Markus <m.*****@gmx.de>
wrote:

Hello,

I've written a couple of Python scripts on OS X that I would like to
start from the Finder by doing a double-click on them. I guess I have to
create a Package.

Does anybody know an easy way to create such a package? Or where can I
find more information about how to do this manually?

If all you want to do is make a simple script that does nothing more
than standard input/output, you can use PyOXIDE's "Build Consolet"
command to make a simple little "console applet".
<http://projects.gandreas.com/pyoxide>

If you want a full blown UI, you'll probably want to use PyObjC and
bundlebuilder to actually make the final app.


Thanks Glenn!

PyOSIDE is exactly what I was looking for. And it's a nice Python IDE
for Mac OS X as well... ;-)

-- Mark
Jul 18 '05 #3

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

Similar topics

0
by: Jan Pieter Kunst | last post by:
I recently ran the MySQL benchmark suite on a Dual 1 GHz G4 running Mac OS X Server 10.2.8, and an 800 MHz Intel machine running SuSE Linux 8.0. Both installations used the same my.cnf file. The...
2
by: The_Original_MB | last post by:
I have a task to create tables dynamically, using the javascript DOM. The current method uses a 1px x 1px IFRAME to loop through some data generation stuff, and then call JS functions in the parent...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
1
by: Henry Jan | last post by:
Hi All, I want to create ComboBox and ListBox control with MAC style as this one on .NET: http://www.econtechvn.com/en/macuisuite_detail.htm However, it's really difficult with the...
4
by: VB Programmer | last post by:
First, I apologize to Mac-haters... :) I know that there are some software packages, like Parralel Desktop for Mac, that let you run XP on a Mac. Does anyone know if Visual Studio.net, IIS,...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
1
by: turtle | last post by:
I need to know if the following is possible. I have a vague idea how to get started on the first part of this but completely lost on teh exception: We need to create a database program that...
28
by: RMZ | last post by:
This may come across as a trolling message, it's not ment to be. It's intended to share a recent experience I had with Mac OS in an entertaining way. I'm doing this because I love technology in...
4
by: Samuel R. Neff | last post by:
Does anyone have a suggestion for how to create a Mac OSX .DMG file from a C# app running on Windows? Searching online is not turning up a lot of options. Or is there some better alternative...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.