Skip to content

Jupyter #206

Answered by dorbitbrown
dorbitbrown asked this question in Q&A
Discussion options

You must be logged in to vote

The root cause of the problem was a Python newbie misunderstanding; failure to distinguish between runtime errors and compile time errors.

After a runtime error in the 'scripts.test_script' context, there is still a 'scripts.test_script' global context which Jupyter can see and which will be listed by the 'pyscript.list_global_ctx()' command. However, a compile time error in the script will--of course--prevent the context from being created in the first place, which explains why it was not showing up.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dorbitbrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant