Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Introduction to Python for Physicists
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Python for Applied Physics
Introduction to Python for Physicists
Commits
6bfb53ec
Commit
6bfb53ec
authored
4 years ago
by
Thomas Landman
Browse files
Options
Downloads
Patches
Plain Diff
Update Notebook 1 Python Basics.md
parent
e168415b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#24957
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Notebook 1/Notebook 1 Python Basics.md
+3
-3
3 additions, 3 deletions
Notebook 1/Notebook 1 Python Basics.md
with
3 additions
and
3 deletions
Notebook 1/Notebook 1 Python Basics.md
+
3
−
3
View file @
6bfb53ec
...
...
@@ -175,8 +175,8 @@ For this, there is both a menubar "Kernel" at the top, along with two useful but
*
"Stop": tells the kernel to abort trying to run the code it is working on, but does not erase its memory
*
"Restart": "kill" the kernel (erasing its memory), and start a new one attached to the notebook.
<img
src=
"resource/asnlib/public/Notebook_1_stop_button.png"
width=
4
0%
></img>
<img
src=
"resource/asnlib/public/Notebook_1_restartkernelmenu.png"
width=
60
0
%
></img>
<img
src=
"resource/asnlib/public/Notebook_1_stop_button.png"
width=
2
0%
></img>
<img
src=
"resource/asnlib/public/Notebook_1_restartkernelmenu.png"
width=
60%
></img>
To see this in action, you can execute the following cell, which will do nothing other than wait for 10 minutes:
...
...
@@ -551,7 +551,7 @@ After your code cell, you will see some colored text called a "Traceback". This
Let's take a look at the traceback:
<img
src=
"resource/asnlib/public/Notebook_1_anatomy_of_an_error.png"
width=
8
0%
></img>
<img
src=
"resource/asnlib/public/Notebook_1_anatomy_of_an_error.png"
width=
6
0%
></img>
The traceback contains three important details that can help you:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment