Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 24th, 2007, 6:54 AM   #1
mattireland
Hobbyist Programmer
 
mattireland's Avatar
 
Join Date: Jul 2007
Location: Wales, United Kingdom
Posts: 203
Rep Power: 2 mattireland is on a distinguished road
Send a message via MSN to mattireland Send a message via Skype™ to mattireland
Just got into Python

Having got my MacBook Pro about a week or two weeks ago, I wanted to be able to program it. So I quit the heavenly environment of Microsoft Visual Studio 2008 Beta 2 and decided to get going with some Python...

Anyways, I liked been able to create my .exe s in VS 2005/8 so can I create a .dmg in Python for my Mac?

Can anyone please help?

Thanks,

Matt. Ireland
__________________
Matt Ireland
http://www.mattireland.org
matt@mattireland.co.uk
mattireland is offline   Reply With Quote
Old Aug 24th, 2007, 8:46 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
You might want to look at Py2app. However, Python wasn't really designed to be made into exes or dmgs, so YMMV.
Arevos is offline   Reply With Quote
Old Aug 24th, 2007, 9:22 AM   #3
mattireland
Hobbyist Programmer
 
mattireland's Avatar
 
Join Date: Jul 2007
Location: Wales, United Kingdom
Posts: 203
Rep Power: 2 mattireland is on a distinguished road
Send a message via MSN to mattireland Send a message via Skype™ to mattireland
OK thanks.

YMMV?????? That's a term I'm not farmiliar with - sorry - what does it mean?

So if I wanted to distribute one of my applications in Python over the internet how would I do it? Would I have to say here's the python file?

EDIT: the py2app looks really complicated. Do you know anywhere I can get a nice, friendly thing taking one through how to install it. Thx.
__________________
Matt Ireland
http://www.mattireland.org
matt@mattireland.co.uk

Last edited by mattireland; Aug 24th, 2007 at 10:00 AM.
mattireland is offline   Reply With Quote
Old Aug 24th, 2007, 1:30 PM   #4
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 855
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Quote:
Originally Posted by mattireland View Post
Anyways, I liked been able to create my .exe s in VS 2005/8 so can I create a .dmg in Python for my Mac?
You mean .app, not .dmg. A file with the .dmg extension is a disk image file, which is often used to package applications (eg, .app files) for distribution over the internet (similar to .zip).

As for creating .app files from Python scripts, I suggest taking a look at Platypus.
titaniumdecoy is online now   Reply With Quote
Old Aug 24th, 2007, 2:18 PM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by mattireland View Post
YMMV?????? That's a term I'm not farmiliar with - sorry - what does it mean?
Is it really easier to ask me, rather than just typing it into Google?

Other than that, titaniumdecoy's suggestion is probably the way to go.
Arevos is offline   Reply With Quote
Old Aug 24th, 2007, 2:27 PM   #6
peace_of_mind
Professional Programmer
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Hell if I know most of the time
Posts: 439
Rep Power: 5 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind Send a message via Yahoo to peace_of_mind
Quote:
Originally Posted by Arevos View Post
Is it really easier to ask me, rather than just typing it into Google?
Also, in regards to your trouble with Py2app, you can also search RTFM. I haven't found a program yet without decent enough documentation to at least get you going.
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Aug 24th, 2007, 6:16 PM   #7
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,033
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by mattireland
YMMV?????? That's a term I'm not farmiliar with - sorry - what does it mean?
'Your mileage may vary'. In other words, your results might be different from mine (or rather, Arevos').
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Aug 24th, 2007, 6:28 PM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I generally get about 22 facts per RTFM. Sometimes, though, the M is an SUV.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Aug 25th, 2007, 6:06 AM   #9
mattireland
Hobbyist Programmer
 
mattireland's Avatar
 
Join Date: Jul 2007
Location: Wales, United Kingdom
Posts: 203
Rep Power: 2 mattireland is on a distinguished road
Send a message via MSN to mattireland Send a message via Skype™ to mattireland
Thanks very much guys! Your all really brilliant.

I'll give these suggestions a go when I get back from the internet cafe in about an hour.

Thanks again,
__________________
Matt Ireland
http://www.mattireland.org
matt@mattireland.co.uk
mattireland is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginers Python Tutorial Beegie_B Python 15 Jul 28th, 2006 11:43 AM
[tutorial] Python for programming beginners coldDeath Python 30 Dec 14th, 2005 11:35 AM
Convert Python script to C++ code clanotheduck Python 17 Sep 25th, 2005 8:55 AM
Advanced Python Tricks Arevos Python 19 Sep 24th, 2005 7:39 AM
Python - A Programmers Introduction coldDeath Python 17 Aug 19th, 2005 12:41 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:51 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC