@@ -36,9 +36,8 @@ Your instructors
3636
3737.. rst-class:: center large
3838
39-
40- | Dan Hable
41- | (dhable at gmail dot com)
39+ | Nathan Savage
40+ | (nathansavagemail at gmail dot com)
4241|
4342
4443Who are you?
@@ -57,33 +56,28 @@ Introduction to This Class
5756
5857.. rst-class:: center large
5958
60- Python Programming
59+ Intro to Python
6160
6261
6362Course Materials Online
6463-----------------------
6564
6665A rendered HTML copy of the slides for this course may be found online at:
6766
68- http://codefellows .github.io/sea-f2-python-sept14/
67+ http://uwpce-pythoncert .github.io/IntroToPython/session01.html
6968
70- Also there are homework descriptions and supplemental materials.
69+ Also there are same homework descriptions and supplemental materials.
7170
72- The source of these materials are in Chris' gitHub repo:
71+ The source of these materials are in Class gitHub repo:
7372
74- http ://github.com/PythonCHB/codefellows_f2_python
73+ https ://github.com/UWPCE-PythonCert/IntroToPython
7574
7675Class email list: We will be using this list to communicate for this class:
7776
78- sea-c25@codefellows.com
79-
80- **Canvas**:
81-
82- We will be using Canvas to track your homework submission, but not much else:
83-
84- https://canvas.instructure.com/courses/881467
77+ programming-in-python@googlegroups.com
8578
86- You should have received and email invitation to join the class.
79+ You should have (or will soone) received and email invitation to join
80+ the mailing list.
8781
8882What is Python?
8983---------------
@@ -489,73 +483,37 @@ To find packages (and their proper names), you can search the python package ind
489483https://pypi.python.org/pypi
490484
491485
492-
493- Step 3: Optional -- Virtualenv
494- -------------------------------
495-
496- Python packages come in many versions.
497-
498- Often you need one version for one project, and a different one for another.
499-
500- `Virtualenv`_ allows you to create isolated environments.
501-
502- You can then install potentially conflicting software safely.
503-
504- For this class, this is no big deal, but as you start to work on "real" projects, it can be a key tool.
505-
506- .. _Virtualenv: http://www.virtualenv.org/
507-
508- If you want to install it, here are some notes:
509-
510- `Intro to VirtualEnv <./supplements/virtualenv.html>`_
511-
512-
513486Step 4: Clone Class Repository
514487------------------------------
515488
516- `gitHub <www.github.com>`_ is an industry-standard system for collaboration on software projects -- particularly open source ones.
517-
518- We will use it this class to manage submitting and reviewing your work, etc.
519-
520- **Wait!** Don't have a gitHub account? Set one up now.
489+ `gitHub <www.github.com>`_ is an industry-standard system for collaboration
490+ on software projects -- particularly open source ones.
521491
522492Next, you'll make a copy of the class repository using ``git``.
523493
524- The canonical copy is in the CodeFellows organization on GitHub:
525-
526- https://github.com/codefellows/sea-f2-python-sept14
494+ The canonical copy is in the UWPCE organization on GitHub:
527495
528- Open that URL, and click on the *Fork* button at the top right corner.
496+ https://github.com/UWPCE-PythonCert/IntroToPython
529497
530- This will make a copy of this repository in *your* github account.
498+ Open that URL, and look for: "HTTPS clone URL"
531499
532-
533- .. nextslide:: Clone Your Fork
534-
535- From here, you'll want to make a clone of your copy on your local machine.
500+ You can click in there an copy and paste to get the clone url.
536501
537502At your command line, run the following commands:
538503
539504.. code-block:: bash
540505
541506 $ cd your_working_directory_for_the_class
542- $ git clone https://github.com/<yourname>/sea-f2-python-sept14 .git
507+ $ git clone https://github.com/UWPCE-PythonCert/IntroToPython .git
543508
544509(you can copy and paste that link from the gitHub page)
545510
546- If you have an SSH key set up for gitHub, you'll want to do this instead:
547-
548- .. code-block:: bash
549-
550- git@github.com:<yourname>/sea-f2-python-sept14.git
551-
552- **Remember**, <yourname> should be replaced by your github account name.
553-
554511
555512Step 5: Install Requirements
556513----------------------------
557514
558- As this is an intro class, we are going to use almost entirely features of standand library. But there are a couple things you may want:
515+ As this is an intro class, we are going to use almost entirely features
516+ of standand library. But there are a couple things you may want:
559517
560518**iPython**
561519
@@ -607,7 +565,7 @@ Start it up
607565 $ipython
608566
609567 $ ipython
610- Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
568+ Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
611569 Type "copyright", "credits" or "license" for more information.
612570
613571 IPython 2.0.0 -- An enhanced Interactive Python.
@@ -652,7 +610,7 @@ This is the stuff I use every day:
652610
653611* tab completion:
654612
655- - ``something.<tab>``
613+ - ``something.<tab>``
656614
657615* running a python file:
658616
@@ -1714,54 +1672,21 @@ exercises in Python programming
17141672Homework
17151673========
17161674
1717- Four Tasks by Next Monday
1675+ ??? Tasks by Next Week
17181676
17191677
17201678Task 1
17211679------
17221680
1723- **Tell Us About Yourself**
1724-
1725- This is a way for you to learn a bit about gitHub, and how you are going to submit most of your homework.
1726-
1727- * Create a new folder in the ``students`` folder in the class repository.
1728-
1729- * Create the folder in your clone of your fork of the repository.
1730- * Name it with your own name in CamelCase, like: ``ChrisBarker``.
1731- * In the folder create one new file, named ``README.md``
1732- * In that new file, write up a few paragraphs about yourself.
1733-
1734- * Use proper `markdown`_ syntax. (or `reStructuredText`_)
1735- * Include at least two headings, of different levels.
1736- * Include at least one link.
1737-
1738- .. _markdown: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
1739-
1740- .. _reStructuredText: http://docutils.sourceforge.net/rst.html
1741-
1742- .. nextslide::
1743-
1744- * Using ``git add``, add the new folder and file to your clone of the
1745- repository.
1746- * Using ``git commit``, commit your changes to your clone (write a good commit
1747- message). If you later edit your file, don't forget to commit those changes
1748- too.
1749- * Using ``git push``, push your commits to your fork on GitHub.
1750- * In GitHub's Web UI, make a ``pull request`` to the original CodeFellows
1751- repository.
1752-
1753-
1754- Task 2
1755- ------
1756-
17571681**Set Up a Great Dev Environment**
17581682
17591683Make sure you have the basics of command line usage down:
17601684
17611685Work through the supplemental tutorials on setting up your
17621686`Command Line`_ for good development support.
17631687
1764- Make sure you've got your editor set up productively -- at the very very least, make sure it does Python indentation well.
1688+ Make sure you've got your editor set up productively -- at the very very
1689+ least, make sure it does Python indentation and syntax coloring well.
17651690
17661691**Advanced Editor Setup:**
17671692
@@ -1780,7 +1705,9 @@ editor.
17801705.. _SublimeText: supplements/sublime_as_ide.html
17811706.. _Command Line: supplements/shell.html
17821707
1783- Task 3
1708+ Also make sure you've got iPython working, if you didn't get to that in class.
1709+
1710+ Task 2
17841711------
17851712
17861713**Python Pushups**
@@ -1792,37 +1719,30 @@ Begin by making an account on the site. Once you have done so, go to the
17921719'prefs' link at the top right and enter your name so we know who you are.
17931720
17941721In addition, add the following email address to the 'Share To' box. This will
1795- allow your instructors to see the work you have done.
1722+ allow me instructors to see the work you have done.
17961723
17971724::
17981725
1799- pyinstructor@codefellows .com
1726+ PythonCHB@gmail .com
18001727
18011728There are 8 sets of puzzles. Do as many as you can, starting with the Warmups.
18021729
18031730.. _CodingBat: http://codingbat.com
18041731
1805- **Please Note:** Do Not send emails to the above email address, they will not
1806- be answered.
18071732
1808-
1809- Task 4
1733+ Task 3
18101734------
18111735
18121736**Explore Errors**
18131737
1814- * Create a new directory in your personal folder in the ``students`` folder of the class repository::
1815-
1738+ * Create a new directory in your working dir for the class.
1739+
18161740 $ mkdir session01
18171741 $ cd session01
18181742
1819- * Make sure you create it in your clone of your fork of the repository.
18201743
18211744* Add a new file to it called ``break_me.py``
18221745
1823- * Use ``git add`` to add the file to the repository.
1824-
1825- .. nextslide::
18261746
18271747* In the ``break_me.py`` file write four simple Python functions:
18281748
@@ -1837,18 +1757,5 @@ Task 4
18371757 * Use the Python standard library reference on `Built In Exceptions`_ as a
18381758 reference
18391759
1840- .. nextslide::
1841-
1842- * Use ``git commit`` to commit changes you make to your clone
1843-
1844- * Make frequent, small commits using ``git commit`` when working.
1845- * Write clear, concise commit messages that explain what you are doing.
1846-
1847- * When you are finished with your work, use ``git push`` to push your changes
1848- to your fork on GitHub.
1849-
1850- * Finally, issue a pull request to the original CodeFellows repository with
1851- your work.
1852-
18531760.. _Built In Exceptions: https://docs.python.org/2/library/exceptions.html
18541761
0 commit comments