Skip to content
Permalink
Browse files

Move around demo files

Signed-off-by: Adam Obeng <github@binaryeagle.com>
  • Loading branch information...
adamobeng committed Sep 17, 2016
1 parent f4623df commit 2f4088f727a9dc953d1fa668ebf30a09f4dc21c2
File renamed without changes.
File renamed without changes.
3 out.py
@@ -0,0 +1,3 @@
🍀 i 👇 ↔(0, 100):
❔ i % 3:
🖨('Fizz')
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 1,
"metadata": {
"collapsed": false,
"slideshow": {
@@ -19,7 +19,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 23,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
@@ -222,23 +222,14 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [
{
"ename": "SyntaxError",
"evalue": "invalid character in identifier (<ipython-input-1-f7df64924ee5>, line 1)",
"output_type": "error",
"traceback": [
"\u001b[0;36m File \u001b[0;32m\"<ipython-input-1-f7df64924ee5>\"\u001b[0;36m, line \u001b[0;32m1\u001b[0m\n\u001b[0;31m 😀 ⬅ 10\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid character in identifier\n"
]
}
],
"outputs": [],
"source": []
},
{
@@ -346,6 +337,17 @@
"- printer; page facing up"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# 😀 ➡ 🐍 ➡ 😀 "
]
},
{
"cell_type": "markdown",
"metadata": {
@@ -361,11 +363,14 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [],
"source": [
"%cat ../test.py"
"%cat ../original.py"
]
},
{
@@ -381,14 +386,10 @@
"source": [
"import snake.python_to_emoji\n",
"\n",
"\n",
"\n",
"FILENAME = '../test.py'\n",
"EMOJIOUT = \"../examples/test.emj\"\n",
"\n",
"\n",
"#Converts python into emoji\n",
"snake.python_to_emoji.python_to_emoji(FILENAME,EMOJIOUT)\n"
"# Converts python into emoji\n",
"snake.python_to_emoji.python_to_emoji(\n",
" '../original.py',\n",
" \"../examples/test.emj\")"
]
},
{
@@ -430,7 +431,7 @@
"import snake.emoji_to_python\n",
"\n",
"EMOJIOUT = \"../examples/test.emj\"\n",
"PYOUT = \"../examples/test.py\"\n",
"PYOUT = \"../examples/output.py\"\n",
"\n",
"#converts emoji to python\n",
"parsed_python = snake.emoji_to_python.emoji_to_python(EMOJIOUT)\n",
@@ -451,7 +452,7 @@
},
"outputs": [],
"source": [
"%cat ../examples/test.py"
"%cat ../examples/output.py"
]
},
{

0 comments on commit 2f4088f

Please sign in to comment.
You can’t perform that action at this time.