convert notebooks to .py files