Question: We are hosting our website in Azure. During the deployment(TFS) we will do the below Steps as the part of the deployment pipeline.

1. Stop the WebApp
2. Deploy Web App Service
3. Start the WebApp

After the 1st step, if anyone tries to access our website, then by default Azure will return the below page

[![enter image description here](https://i.stack.imgur.com/zXQzr.jpg)](https://i.stack.imgur.com/zXQzr.jpg)

We really don't want our users to show this page during the outage. We are planning to show our own outage image/page in such case.

Is there is any way to achieve this?

Since Azure Web Apps in a Paas model, I'm wondering how to do this?

Any inputs Appreciated!

Answer: 
It should work with

```
from test import foo

```

But you have to add a `__init__.py` to your project directory.

For Python 3 it would be:

```
from .test import foo

```

If you use the dot in front of the folder name, python searches for the file in the same directory as the file you are working on is placed in.

Sorry for my bad english.
Are you using an IDE? If so add the path to the Python Interpreter inside the project Properties to all the primary packages (foo, test, notebooks). Otherwise try to explicitly add the bar package to the sys path like so 

```
import sys
import os
MYDIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(MYDIR,'test'))
sys.path.append(os.path.join(MYDIR,'test/foo'))
sys.path.append(os.path.join(MYDIR,'test/foo/bar')) #I am not sure this is entirely needed

```