Skip to content

Commit

Permalink
begin intro section
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffKatzy committed Mar 9, 2018
0 parents commit 2afa716
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.ipynb_checkpoints
.DS_Store
Empty file added _trial_temp/_trial_marker
Empty file.
2 changes: 2 additions & 0 deletions _trial_temp/test.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
2018-03-09 13:12:47-0500 [-] Log opened.
2018-03-09 13:12:47-0500 [-] --> index_test.TestVariables.test_variables_intro <--
91 changes: 91 additions & 0 deletions index.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Variables Lab"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Labs with Learn"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In the first lab, we ensured that we were doing things correctly by seeing that our output matched what we saw as a comment."
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'Art Vandelay'"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"'art vandelay'.title() # 'Art Vandelay'"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In this lab, we will use double check if we are doing things correctly with Learn."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"name = 'art vandelay'"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Binary file added test/__pycache__/index_test.cpython-36.pyc
Binary file not shown.
7 changes: 7 additions & 0 deletions test/index_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import unittest2 as unittest
from twisted.trial import unittest
from ipynb.fs.full.index import (name)

class TestVariables(unittest.TestCase):
def test_variables_intro(self):
self.assertEqual(name, 'bob')

0 comments on commit 2afa716

Please sign in to comment.