Skip to content

Commit 2afa716

Browse files
committed
begin intro section
0 parents  commit 2afa716

File tree

6 files changed

+102
-0
lines changed

6 files changed

+102
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.ipynb_checkpoints
2+
.DS_Store

_trial_temp/_trial_marker

Whitespace-only changes.

_trial_temp/test.log

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2018-03-09 13:12:47-0500 [-] Log opened.
2+
2018-03-09 13:12:47-0500 [-] --> index_test.TestVariables.test_variables_intro <--

index.ipynb

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# Variables Lab"
8+
]
9+
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"Now that you know about variables, you went from just attending Python conferences, to being a top knotch guest speaker. You want to send thank you notes to all of the attendees, and to do so efficiently."
15+
]
16+
},
17+
{
18+
"cell_type": "markdown",
19+
"metadata": {},
20+
"source": [
21+
"### Labs with Learn"
22+
]
23+
},
24+
{
25+
"cell_type": "markdown",
26+
"metadata": {},
27+
"source": [
28+
"In the first lab, we ensured that we were doing things correctly by seeing that our output matched what we saw as a comment."
29+
]
30+
},
31+
{
32+
"cell_type": "code",
33+
"execution_count": 4,
34+
"metadata": {},
35+
"outputs": [
36+
{
37+
"data": {
38+
"text/plain": [
39+
"'Art Vandelay'"
40+
]
41+
},
42+
"execution_count": 4,
43+
"metadata": {},
44+
"output_type": "execute_result"
45+
}
46+
],
47+
"source": [
48+
"'art vandelay'.title() # 'Art Vandelay'"
49+
]
50+
},
51+
{
52+
"cell_type": "markdown",
53+
"metadata": {},
54+
"source": [
55+
"In this lab, we will use double check if we are doing things correctly with Learn."
56+
]
57+
},
58+
{
59+
"cell_type": "code",
60+
"execution_count": null,
61+
"metadata": {
62+
"collapsed": true
63+
},
64+
"outputs": [],
65+
"source": [
66+
"name = 'art vandelay'"
67+
]
68+
}
69+
],
70+
"metadata": {
71+
"kernelspec": {
72+
"display_name": "Python 3",
73+
"language": "python",
74+
"name": "python3"
75+
},
76+
"language_info": {
77+
"codemirror_mode": {
78+
"name": "ipython",
79+
"version": 3
80+
},
81+
"file_extension": ".py",
82+
"mimetype": "text/x-python",
83+
"name": "python",
84+
"nbconvert_exporter": "python",
85+
"pygments_lexer": "ipython3",
86+
"version": "3.6.1"
87+
}
88+
},
89+
"nbformat": 4,
90+
"nbformat_minor": 2
91+
}
561 Bytes
Binary file not shown.

test/index_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import unittest2 as unittest
2+
from twisted.trial import unittest
3+
from ipynb.fs.full.index import (name)
4+
5+
class TestVariables(unittest.TestCase):
6+
def test_variables_intro(self):
7+
self.assertEqual(name, 'bob')

0 commit comments

Comments
 (0)