[Tutor] [OSX] "Executable" .py or pyc script (stuck at Applescript)

Dario Lopez-Kästen cl2dlope at gmail.com
Mon Nov 14 15:35:15 CET 2011


Try PyInstaller http://www.pyinstaller.org/

/dario


On Nov 14, 2011 2:43 PM, "learner404" <learner404 at gmail.com> wrote:

>
> On Fri, Nov 11, 2011 at 12:02 AM, Prasad, Ramit <ramit.prasad at jpmorgan.com
> > wrote:
>
>  It is probably easiest to keep myapp.py in the home directory (or
>> subdirectory of it) and say "python ~/myapp.py" (or "python
>> ~/.roadierich/myapp.py) from the applescript
>>
>>
> I will go with that for now. My python script is using a bunch of relative
> paths so I added this before the script:
>
> if sys.platform=="darwin":
>
>     os.chdir(os.path.expanduser("~/myfolder/"))
> I will try to see if there's something like "inno setup" to make an
> installer. If anyone have something to recommend for this i'm interested.
>
> Thanks Ramit and all.
>
>
>>
>>
>> Ramit
>>
>>
>> Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
>> 712 Main Street | Houston, TX 77002
>> work phone: 713 - 216 - 5423
>>
>> --
>> This email is confidential and subject to important disclaimers and
>> conditions including on offers for the purchase or sale of
>> securities, accuracy and completeness of information, viruses,
>> confidentiality, legal privilege, and legal entity disclaimers,
>> available at http://www.jpmorgan.com/pages/disclosures/email.
>>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111114/dddc5432/attachment.html>


More information about the Tutor mailing list