Skip to content
Snippets Groups Projects
Commit 4456bc06 authored by LOUIS TYRRELL OLIPHANT's avatar LOUIS TYRRELL OLIPHANT
Browse files

Upload New File

parent 0059328d
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id:0a784064-de52-45c1-b029-cf78c9736923 tags:
# Test Configuration
Welcome to CS 220. This notebook file should now be opened in Jupyter Lab. This is the development environment where you will by writing Python code.
In the cell below, you should see a line of python code (`print("Hello World")`). Click on the cell to get a cursor and then type `shift-enter` to run the code in that cell. The output from running the code should appear just below the cell.
## Test 1 -- Running Python Code
%% Cell type:code id:18f71407-2e77-409d-8968-283a44ef8eaa tags:
``` python
print("Hello World")
```
%% Cell type:markdown id:ef3f15f4-7d7e-4ec4-b487-c8852546af1d tags:
If you see the output from running the code, then you have Python working.
%% Cell type:markdown id:44280d0b-712b-4af6-b5e9-0cf757ec030b tags:
## Test 2 -- Checking Python Version
Now let's check that you have the same Python version as the one we will use when testing your code. Again, in the code cell below, click and then run (type `shift-enter`) and see if you have version 3.10.12 installed.
%% Cell type:code id:653ac7e8-eb8a-4dd8-9c36-bb38b13becc0 tags:
``` python
import sys
print(sys.version)
```
%% Cell type:markdown id:7fc97288-8b03-4d89-bb9a-e15dca94f682 tags:
If it printed out 3.10.12 then you have the proper Python version.
%% Cell type:markdown id:4847998e-ce89-4aed-95e0-b3d9acf7c017 tags:
## Test 3 -- Checking the Debugger
To check if the debugger is working, click on the tiny bug icon at the top right.
![image.png](attachment:26d9d0be-e558-4722-8559-7c08e587e015.png)
It should turn a different color and open a side-panel on the right
![image.png](attachment:7f28cfcf-87ca-4d73-980f-c14aa5e3f3c8.png)
To close the sidepanel, click on the bug icon on the far right and to turn off the debugger click the bug icon at the top.
%% Cell type:markdown id:9c4176b9-d82a-424d-a0c2-375fc1d51e14 tags:
## Success
If you have passed all the tests then your system is all setup.
One last thing you may want to do is associate jupyter notebook files (files that end with .ipynb) with this program so that you can just double-click on the file and it will launch this program to open the file. Please go back and read the installation instructions to know how to do that.
To shut down Jupyter Lab, under the menu click `File -> Shut Down`. This will close the program and then you can close this tab within your browser.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment