What about import_ipynb delay?

If I have two ipynb codes: main.ipynb secondary.ipynb

And I use in main.ipynb

import import_ipynb
import secondary # as a module

Any changes I do in "secondary.ipynb" has a big delay when I run "main.ipynb", I usually have to close main and reopen it.

Do you know how I can update "secondary" in "main" automatically?

TRY

In main:

import import_ipynb
import modulo_clases

new_value = modulo_clases.Valor(nombre, archivo, carpeta_datos)

In secondary (modulo_clases.ipynb)

class Valor():
    def __init__(self, nombre, nombre_archivo, carpeta_datos):
        self.nombre = nombre
        self.carpeta_datos = carpeta_datos
        self.archivo = nombre_archivo

ERROR

Valor.__init__() missing 1 required positional argument: 'carpeta_formas_porcentuales'


Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation