Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
207 changes: 147 additions & 60 deletions part-1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,69 +22,72 @@
"level": 1,
"metadata": {},
"source": [
"Introduction to Python Workshop"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"A programming community outreach workshop, brought to you by the generous volunteers from:\n",
"\n",
"* [PyLadies San Diego](www.meetup.com/sd-pyladies/)\n",
"* [San Diego Python User Group](www.meetup.com/pythonsd/)\n",
"* [Inland Empire Pyladies](www.meetup.com/iepyladies/)"
"Introduction to Python Workshop\n",
"Part 1"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Welcome!"
"Welcome again!"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Workshop kickoff\n",
"We want to thank the many people that have made this workshop possible.\n",
"\n",
"Special thanks to the sponsors of this free workshop:\n",
"* Ansir Innovation Center\n",
"* Python Software Foundation\n",
"First, the generosity of our sponsors have provided facilities for the workshop, food and refreshments, and travel assistance for our guest speakers. Please give a hand to our fabulous sponsors:\n",
"- [Ansir Innovation Center](http://ansirsd.com/)\n",
"- [Python Software Foundation](https://www.python.org/psf/)\n",
"\n",
"Introductions: who's here to teach and help you today.\n",
"* Name, 2-4 sentences about yourself\n",
"\n",
"We are all volunteers. If you enjoy this workshop and decide to continue with Python programming, we encourage you to volunteer at the next Intro to Python Workshop."
"We are committed to offering a positive and productive workshop for you. We are proud to be an [OpenHatch](https://openhatch.org) affiliated event. OpenHatch is a non-profit that helps people become contributors to free and open source software. OpenHatch is a friendly community and can help you find a suitable project if you are interested in contributing.\n",
"\n"
]
},
{
"cell_type": "heading",
"level": 2,
"cell_type": "markdown",
"metadata": {},
"source": [
"The Game Plan"
"A programming community outreach workshop, brought to you by the generous volunteers from:\n",
"\n",
"- [PyLadies San Diego](www.meetup.com/sd-pyladies/)\n",
"- [San Diego Python User Group](www.meetup.com/pythonsd/)\n",
"- [Inland Empire Pyladies](www.meetup.com/iepyladies/)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Intro:\n",
"* Setup help and check-offs\n",
"* Why program with Python?\n",
"**Introduction of who is here to teach and help you today.**\n",
"- Audrey\n",
"- Danny\n",
"- Rise\n",
"- Trey\n",
"- Jim\n",
"- Others that are helping on day of event\n",
"- Carol\n",
"\n",
"Please take a moment to share 2-4 sentences about yourself\n",
"\n",
"First steps:\n",
"* Interactive lecture\n",
"* Practice\n",
"We are all volunteers. If you enjoy this workshop and decide to continue with Python programming, we encourage you to volunteer at the next Intro to Python Workshop.\n",
"\n",
"Lists and loops:\n",
"* Interactive lecture\n",
"* Practice\n",
"We are also very thankful that you have chosen to spend the better part of your Saturday sharing Python with us. It's a language that we have fun using to make all sorts of projects and a thoughtful, accepting, considerate, and fun community that we are glad to take part in.\n",
"\n",
"Wrap-up and next steps"
"And now...let's get going with some Python development!\n",
" "
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"The Game Plan"
]
},
{
Expand Down Expand Up @@ -152,7 +155,6 @@
"```\n",
"\n",
"Once you've had your setup checked:\n",
"* Visit http://codeacademy.com and create an account, or sign in if you already have an account. This is very important: you will need this today.\n",
"* While waiting, introduce yourself to at least 3 of the people sitting near you. Tell them your name, something about yourself, and why you decided to come to today's workshop."
]
},
Expand All @@ -171,23 +173,15 @@
"After completing these steps, you should:\n",
"* Have Python installed\n",
"* Be able to enter and exit Python\n",
"* Have a Codeacademy account\n"
"\n"
]
},
{
"cell_type": "heading",
"level": 6,
"metadata": {},
"source": [
"5 min Why Python is so great? (7 slides) while audience checks config"
]
},
{
"cell_type": "heading",
"level": 6,
"metadata": {},
"source": [
"10 min Let's get started with the interactive lecture"
"Let's get started with the interactive lecture"
]
},
{
Expand Down Expand Up @@ -245,7 +239,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 10,
"text": [
"2"
]
}
],
"prompt_number": 10
},
{
"cell_type": "code",
Expand All @@ -259,13 +263,13 @@
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 1,
"prompt_number": 11,
"text": [
"0"
]
}
],
"prompt_number": 1
"prompt_number": 11
},
{
"cell_type": "markdown",
Expand All @@ -274,6 +278,46 @@
"Whole number 1 divided by whole number 2"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"3 / 2"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 12,
"text": [
"1"
]
}
],
"prompt_number": 12
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"15 / 2"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 20,
"text": [
"7"
]
}
],
"prompt_number": 20
},
{
"cell_type": "code",
"collapsed": false,
Expand Down Expand Up @@ -302,7 +346,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 3,
"text": [
"4"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
Expand Down Expand Up @@ -379,7 +433,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 6,
"text": [
"0"
]
}
],
"prompt_number": 6
},
{
"cell_type": "code",
Expand All @@ -389,7 +453,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 7,
"text": [
"0.5"
]
}
],
"prompt_number": 7
},
{
"cell_type": "markdown",
Expand All @@ -409,7 +483,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 8,
"text": [
"int"
]
}
],
"prompt_number": 8
},
{
"cell_type": "code",
Expand All @@ -419,7 +503,17 @@
],
"language": "python",
"metadata": {},
"outputs": []
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 9,
"text": [
"float"
]
}
],
"prompt_number": 9
},
{
"cell_type": "markdown",
Expand Down Expand Up @@ -1143,13 +1237,6 @@
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Questions? 47 min mark"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
7 changes: 7 additions & 0 deletions watermark.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Watermark is a project by Sebastian Rasbt (GitHub @rasbt).
It's a nifty "IPython magic extension for printing date and time stamps, version numbers, and hardware information".

To check if our workshop's IPython notebook is running under 3.4.1, the following 3 line snippet can be pasted into a cell:
%install_ext https://raw.githubusercontent.com/rasbt/watermark/master/watermark.py
%load_ext watermark
%watermark