Issue 974159: Starting a script in OSX within a specific folder (original) (raw)

Issue974159

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:04 admin set github: 40409
2009-03-30 16:30:46 ronaldoussoren set status: open -> closedtype: enhancementmessages: + resolution: works for mestage: resolved
2009-02-17 14:45:00 ronaldoussoren set assignee: ronaldoussorennosy: + ronaldoussoren
2009-02-14 13:58:25 ajaksu2 set nosy: + ajaksu2messages: +
2004-06-16 19:19:55 klankschap create