This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Starting a script in OSX within a specific folder
Type: enhancement Stage: resolved
Components: None Versions:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: ajaksu2, klankschap, ronaldoussoren
Priority: normal Keywords:

Created on 2004-06-16 19:19 by klankschap, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg60510 - (view) Author: Floris van Manen (klankschap) Date: 2004-06-16 19:19
How do I start a Python script in OSX in such a way 
that the cwd folder remains de same as the one in 
which the script is located. And not the root of the 
current user, or the Content folder of an application 
package.

msg82056 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-02-14 13:58
Will close this one unless someone thinks the use case is important and
currently not possible.
msg84575 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-30 16:30
Floris: you can run the script from a Terminal window. Alternatively you 
can use the Python Launcher tool that's location in /Applications/Python 
X.Y (select it from the context-menu for a .py file)
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40409
2009-03-30 16:30:46ronaldoussorensetstatus: open -> closed
type: enhancement
messages: + msg84575

resolution: works for me
stage: resolved
2009-02-17 14:45:00ronaldoussorensetassignee: ronaldoussoren
nosy: + ronaldoussoren
2009-02-14 13:58:25ajaksu2setnosy: + ajaksu2
messages: + msg82056
2004-06-16 19:19:55klankschapcreate