Hi, the way I do this on mac os x is to use applescript like so.
--start of applescript
tell application "Terminal"
do script "python /Volumes/Seagate750/drive_01/myPythonScript.py"
end tell
--end of applescript
Where you simply point the terminal to the python script using
applescri
>>> After all with Python 2.3 pre installed on MacOS X
>> Is Python 2.3 really the most recent version of Python distributed with
>> new Macs?
> I think *new* Macs come with 2.5. My 2-year-old MacBook Pro has 2.3.
i got a new MBP from work about half a year ago with leopard 10.5.6
installed, and
gram website
> http://www.alan-g.me.uk/
>
>
> ------------------
> *From:* Pete Froslie
> *To:* Alan Gauld
> *Cc:* tutor@python.org
> *Sent:* Tuesday, 7 July, 2009 10:33:10 PM
> *Subject:* Re: [Tutor] mac os x executable
>
>
>
> Does this make sense?
&g
On Tue, Jul 7, 2009 at 5:51 PM, wrote:
> Alan,
>
>> After all with Python 2.3 pre installed on MacOS X
>
> Is Python 2.3 really the most recent version of Python distributed with
> new Macs?
I think *new* Macs come with 2.5. My 2-year-old MacBook Pro has 2.3.
> So if I wanted to distribute a Pyt
the OS fundamentals too
Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/
From: Pete Froslie
To: Alan Gauld
Cc: tutor@python.org
Sent: Tuesday, 7 July, 2009 10:33:10 PM
Subject: Re: [Tutor] mac os x executable
Does this make sense?
Alan,
> After all with Python 2.3 pre installed on MacOS X
Is Python 2.3 really the most recent version of Python distributed with
new Macs?
So if I wanted to distribute a Python 2.6 script to a Mac user, I would
need to instruct the Mac user how to download and install a separate
version of Py
Yes, this makes sense to me.. but when treating a project as an artwork I
can't ask people to go through an effort beyond a simple start of the app.
For instance, I'm in Boston and the work is being show on a computer in
gallery in SF-- if it crashes, curators often will be unenthusiastic when
bein
"Pete Froslie" wrote
I'm having trouble finding good tutorials on creating standalone
executable
files for mac os x.. I've been looking at 'py2app', but can't seem get a
solid grasp. Any help would be greatly appreciated!
My first question would be do you need to? After all with Python 2.3
On Tue, Jul 07, 2009, Pete Froslie wrote:
>
> Wesley,
> What I meant is that I would like a file that can be double clicked in
> order to run the python script.. so that I can drop it on another mac
> where someone can execute it without worrying about Terminal.
> Essentially, I need ever
Wesley,
What I meant is that I would like a file that can be double clicked in order
to run the python script.. so that I can drop it on another mac where
someone can execute it without worrying about Terminal.
Essentially, I need everything to be clean in the end.. My projects are
artworks and f
>> >I'm having trouble finding good tutorials on creating standalone
>> > executable
>> >files for mac os x.. I've been looking at 'py2app', [...]
pete,
welcome to Python! in order for all to answer your question more
appropriately, you'll have to describe the problem in slightly more
detail.
Thanks Bill,
Terminal tells me, 'chmod: app_test.py: No such file or directory'
I assume that's what you meant to do? Drop this at the start of the script:
#!/usr/bin/env python
Then go into terminal and type:
`chmod +x mypython.py''
--pretty new to some of this stuff.
cheers
On Tue, Jul 7,
On Tue, Jul 07, 2009, Pete Froslie wrote:
>Hi,
>
>I'm having trouble finding good tutorials on creating standalone executable
>files for mac os x.. I've been looking at 'py2app', but can't seem get a
>solid grasp. Any help would be greatly appreciated!
For a python script, say mypython.py, it shou
13 matches
Mail list logo