From: Ben Finney
Robert Latest via Python-list writes:
> Because the main.py script needs to import the tables.py module from
> backend, I put this at the top if main.py:
>
>sys.path.append('../..')
>import jobwatch.backend.tables as tables
>
> My question is: Is this the way it should
Ben Finney wrote:
> Robert Latest via Python-list writes:
>
>> Because the main.py script needs to import the tables.py module from
>> backend, I put this at the top if main.py:
>>
>>sys.path.append('../..')
>>import jobwatch.backend.tables as tables
>>
>> My question is: Is this the way i
Robert Latest via Python-list writes:
> Because the main.py script needs to import the tables.py module from
> backend, I put this at the top if main.py:
>
>sys.path.append('../..')
>import jobwatch.backend.tables as tables
>
> My question is: Is this the way it should be done? It looks f