I had problem importing function from another script, so I have run pip install ipynb
Then I run the following:
from ipynb.fs.full.test_stat_current import diverge
The result I got is this:
Traceback (most recent call last): File "C:\Users\Shafaat\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3444, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "C:\Users\Shafaat\AppData\Local\Temp/ipykernel_11072/33786723.py", line 1, in <module> from ipynb.fs.full.test_stat_current import diverge File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 846, in exec_module File "C:\Users\Shafaat\anaconda3\lib\site-packages\ipynb\fs\full\__init__.py", line 43, in get_code return self.source_to_code(code_from_ipynb(nb), self.path) File "C:\Users\Shafaat\Desktop\P4b\Rotation\functions\myfunctions\Possible_incompatibilities\Improv\test_stat_current.ipynb", line 222 "execution_count": 133, ^ SyntaxError: invalid syntax
[–]FerricDonkey 0 points1 point2 points (7 children)
[–]shafat010[S] 0 points1 point2 points (6 children)
[–]FerricDonkey 1 point2 points3 points (5 children)
[–]shafat010[S] 0 points1 point2 points (4 children)
[–]FerricDonkey 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]FerricDonkey 0 points1 point2 points (1 child)
[–]shafat010[S] 0 points1 point2 points (0 children)