#!/usr/bin/env python

import os
#import finailab_install
import site
out = site.getsitepackages()


def listToString(s):

    # initialize an empty string
    str1 = ""

    # traverse in the string
    for ele in s:
        str1 += ele

    # return string
    return str1


out2 = listToString(out)

filename = os.path.join(out2, "fintech_test", "jupyter_notebook_config.py")

filename2 = filename.replace(os.sep, '/')
filename3 = os.path.join(
    out2, "/jupyterlab_templates/templates/jupyterlab_templates/", "quanturf_test.ipynb")
type(filename2)

!jupyter lab - -config = {filename2}
