Importing notebook into framework with visible code

Have a look at this thread that discusses various solutions and their drawbacks: