all the default places python looks.
K
-Original Message-
From: Python-Dev [mailto:python-dev-
bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer
Sent: 11. nóvember 2012 20:31
To: python-dev@python.org
Subject: [Python-Dev] Setting project home path the best way
Hi f
; found in all the default places python looks.
>>
>> K
>>
>>
>>> -----Original Message-
>>> From: Python-Dev [mailto:python-dev-
>>> bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer
>>> Sent: 11. nóvember 2012 2
on looks.
>
> K
>
>
>> -Original Message-
>> From: Python-Dev [mailto:python-dev-
>> bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer
>> Sent: 11. nóvember 2012 20:31
>> To: python-dev@python.org
>> Subject: [Python-Dev] Set
mber 2012 20:31
> To: python-dev@python.org
> Subject: [Python-Dev] Setting project home path the best way
>
> Hi friends,
>
> I have a project that has its root somewhere on my machine.
> This project has many folders and contains quite some modules.
>
> There is a common roo
Hi Nick, Holger,
this is a crazy fault of mine, see the end below.
I wrote:
I have a project that has its root somewhere on my machine.
This project has many folders and contains quite some modules.
There is a common root of the module tree, and I want to use
- either absolute imports
- relati
The only way I know how to do it is to have my cwd set to the directory I
want on sys.path, then use -m for script execution (using a separate shell
session for anything where I want a different working directory).
I don't know of any way to handle a varying cwd without manipulating the
path direc
Hi friends,
I have a project that has its root somewhere on my machine.
This project has many folders and contains quite some modules.
There is a common root of the module tree, and I want to use
- either absolute imports
- relative imports with '.'
Problem:
- I want to run any module inside