Skip to content

Commit 4544ca6

Browse files
committed
done
1 parent b5a1c7a commit 4544ca6

30 files changed

+25821
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

.ipynb_checkpoints/Untitled-checkpoint.ipynb

+1,586
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Introduction to Jupyter (formerly known as IPython) Notebook"
8+
]
9+
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"## 1) Click HERE only once (so the blue bar shows up on the left)"
15+
]
16+
},
17+
{
18+
"cell_type": "markdown",
19+
"metadata": {
20+
"collapsed": true
21+
},
22+
"source": [
23+
"## 2) Use your arrow keys to move up and down"
24+
]
25+
},
26+
{
27+
"cell_type": "markdown",
28+
"metadata": {},
29+
"source": [
30+
"## 3) Stop on this row and press enter – notice you're now editing the row"
31+
]
32+
},
33+
{
34+
"cell_type": "markdown",
35+
"metadata": {},
36+
"source": [
37+
"## 4) Press shift + enter to execute the row"
38+
]
39+
},
40+
{
41+
"cell_type": "markdown",
42+
"metadata": {},
43+
"source": [
44+
"## 5) Now press B to create a new cell below the cursor – or A for above."
45+
]
46+
},
47+
{
48+
"cell_type": "markdown",
49+
"metadata": {
50+
"collapsed": true
51+
},
52+
"source": [
53+
"## 6) Practice step 5 a few times"
54+
]
55+
},
56+
{
57+
"cell_type": "markdown",
58+
"metadata": {},
59+
"source": [
60+
"## 7) Press ESC and use your arrow keys to highlight one of the new empty cells you created"
61+
]
62+
},
63+
{
64+
"cell_type": "markdown",
65+
"metadata": {},
66+
"source": [
67+
"## 8) Delete the empty cell by pressing d + d (be careful!)"
68+
]
69+
},
70+
{
71+
"cell_type": "markdown",
72+
"metadata": {},
73+
"source": [
74+
"## 9) Run the Python code below by highlighting the row and pressing shift + enter"
75+
]
76+
},
77+
{
78+
"cell_type": "code",
79+
"execution_count": 1,
80+
"metadata": {},
81+
"outputs": [
82+
{
83+
"name": "stdout",
84+
"output_type": "stream",
85+
"text": [
86+
"good job!\n"
87+
]
88+
}
89+
],
90+
"source": [
91+
"print(\"good job!\")"
92+
]
93+
},
94+
{
95+
"cell_type": "markdown",
96+
"metadata": {},
97+
"source": [
98+
"A few notes:\n",
99+
"\n",
100+
"- Rows can contain many different languages, today we're just using Python\n",
101+
"- We can also use Markdown in cells and display pictures, web sites, etc\n",
102+
"- When in doubt, press ESC once to exit editing mode and use your arrows, A, B, dd, etc"
103+
]
104+
},
105+
{
106+
"cell_type": "markdown",
107+
"metadata": {},
108+
"source": [
109+
"## 10) Finally, go to File > Download as > Python (.py) to save this as a Python file"
110+
]
111+
}
112+
],
113+
"metadata": {
114+
"kernelspec": {
115+
"display_name": "Python 3 (ipykernel)",
116+
"language": "python",
117+
"name": "python3"
118+
},
119+
"language_info": {
120+
"codemirror_mode": {
121+
"name": "ipython",
122+
"version": 3
123+
},
124+
"file_extension": ".py",
125+
"mimetype": "text/x-python",
126+
"name": "python",
127+
"nbconvert_exporter": "python",
128+
"pygments_lexer": "ipython3",
129+
"version": "3.10.9"
130+
}
131+
},
132+
"nbformat": 4,
133+
"nbformat_minor": 1
134+
}

0 commit comments

Comments
 (0)