Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 24, 2013, 09:31 AM   #1
ThunderBow
macrumors newbie
 
Join Date: Mar 2013
Location: 1 Infinity Loop, Cupertino California :)
Python.app

On a mac, if you click "Go" in Finder and click "Go to folder", and type in /System/Library/Frameworks/Python.framework/Resources/

there will be a Python.app application. When you try to launch it, it will start up for a split second, but then close out. Why does this happen? and what is that app used for? Thanks!
ThunderBow is offline   0 Reply With Quote
Old Apr 24, 2013, 10:08 AM   #2
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
If I had to guess, I would say that it's an executable that you would pass command line arguments to via Terminal, for example, if you wanted it to do anything.

I know nothing about Python, though, so that's just a guess.

It might also do nothing but launch a background process that continues running on your computer after it disappears from your dock.
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.
ArtOfWarfare is offline   0 Reply With Quote
Old Apr 24, 2013, 12:27 PM   #3
chown33
macrumors 603
 
Join Date: Aug 2009
It's probably to allow for starting Python programs by double-clicking a .py file. However, it doesn't appear to be the primary app because it lacks the relevant CFBundleDocumentTypes entries.

My guess is that PythonLauncher.app (which does have the CFBundleDocumentTypes entries) receives the initial launch, and then it does something before passing control off to Python.app. I don't know what it would do, but maybe you can find the source and discover how they work.

I note that both Python.app and PythonLauncher.app have copyright notices for the Python Foundation, so you might find something on their website.
chown33 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT -5. The time now is 01:50 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC