PyClass: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== PSAs and Events ==
=== PSAs and Events ===


''' PSA 8-16-14: ''' The new curriculum for the Noisebridge PyClass is a crash course in the Python standard library, also touching on modules that are popular but not quite part of the standard modules.  Scroll down to see the course list.
'''PSA 1-26-15:''' DO NOT COME TO PYCLASS ON WEDNESDAY (although Noisebridge is still open). As of February 1st, attend PyClass on Tuesdays and Thursdays! Thursday in the Church Classroom will replace the Wednesday.


== Scheduled Weekly Meeting Times ==
'''PSA 10-1-14:''' PyClass starts at 7:00 PM, try to come a few minutes earlier. We want to finish up by nine so people can hack or catch their preferred train home. You can come at any time, but YMMV (your mileage may vary).
* Tuesday 7:00 - 9:00 PM PST - 'Turing' Classroom
* Wednesday 7:00 - 9:00 PM PST - 'Church' Classroom


== Mailing List ==
'''PSA 8-19-14:''' The [https://noisebridge.net/wiki/PyClass noisebridge wiki] and [https://github.com/PyClass/PyClass-lesson-plans github readme] files have the same information and updates.
Sign up for this to hear updates and conversations regarding the course!
* [http://groups.google.com/group/pyclass Pyclass-Discussion]


== Class Description, Goals, and Ideal Student ==
'''PSA 8-16-14:''' The new curriculum for the Noisebridge PyClass is a crash course in the Python standard library, also touching on modules that are popular but not quite part of the standard modules. Scroll down to see the course list.


The pace of the courses will be fast, and the materials will be available online 24/7 and we plan to frequently repeat modules that are in high demand with new twists as we iterate over the course materials.
=== Scheduled Weekly Meeting Times ===


A primary goal of the course is to break down the materials into independent units. In other words, if you miss a week then you won't fall behind. Sounds good, right?
We set up the space at 6:45 PM - try to arrive early to help if you are able to.


To best experience the course, spend a short time studying the course materials before you come in. If you wish to know this week's courses, please send an email out to PyClass@googlegroups.com
* Tuesday 7:00 - 9:00 PM PST - 'Turing' Classroom
* Thursday 7:00 - 9:00 PM PST - 'Church' Classroom


The ideal student for this course can understand the following code (it's fine to use Google to look up the built in functions, and we use tons of web resources throughout the course materials):
=== Mailing List ===


<source lang="python">
Sign up for this to hear updates and conversations regarding the course!


word_frequency_dict = {}
[http://groups.google.com/group/pyclass PyClass-Discussion]
word = "noisebridge"


for letter in word:
=== Class Description, Goals, and Ideal Student ===
    times = word_frequency_dict.get(letter, 0)
    times += 1
    word_frequency_dict.update( {letter : times} )
   
</source>


== Course List ==
The pace of the courses will be fast, and the materials will be available online 24/7. We plan to frequently repeat modules with new twists as we iterate over course materials.


The order of the following courses has not yet been determined.
A major PyClass goal is to break down the courses into independent units. In other words, you won't fall behind if you miss a week. Sounds good, right?


Please [http://groups.google.com/group/pyclass ask on the mailing list] if you want to know what courses are coming this week!
To best experience the course, spend a short time reviewing the course materials before you come in. If you wish to know this week's courses, please join the mailing list and send an email out to PyClass@googlegroups.com


# JSON format, Python Types, and the JSON Module
Lessons are [https://github.com/PyClass/PyClassLessons available on Github].
# Control Flow, itertools, and Functional Programming
# Built-in Functions
# Built-in Types and String Services
# Numeric and Mathematical Modules, and Operators
# argparse, ConfigParser, and more - configuring your applications
# pip, virtualenv, packaging, versions, and inspect.
# Logging your applications: logging, logging.config, logging.handlers
# Exceptions and Debugging: Exception behavior, custom exceptions, pdb, cProfile, timeit, time, trace.
# os, sys, and io (Caution, here be Python 3, inside the io module)
# (potential for a unittest course)


===== The 'ideal student' for this course can grasp the following code: =====


(Feel free to use web resources to look up anything you don't understand)


== OS / Environment / Versions ==
<source lang="python">letter_frequency_dict = {}
word = 'noisebridge';
for letter in word:
    times = letter_frequency_dict.get(letter, 0)
    times += 1
    letter_frequency_dict[letter] = times</source>


This section is under development.
===== We use the [http://www.criticalthinking.org/pages/socratic-teaching/606 Socratic Method] =====


For the sake of our sanity we use Python 2.7.1+ for this course.
====== A Socratic questioner should ======


We accept refugees using all operating systems. You will be politely prodded in the direction of solutions that are closer to posix standards: [http://en.wikipedia.org/wiki/POSIX#Mostly_POSIX-compliant]
# keep the discussion focused
# keep the discussion fact based*
# stimulate the discussion with probing questions
# periodically summarize what has and what has not been dealt with and/or resolved
# draw as many students as possible into the discussion.


Emergency Python Command Line: [http://repl.it/languages/Python]
:<nowiki>*</nowiki> [https://en.wikipedia.org/wiki/Intellectual_responsibility intellectually responsible] can be effectively replaced with 'fact based' for our needs.


Some paths:
=== New Student Reading ===
# Install a linux virtual machine on another computer using virtualbox.
# Use the command line in your apple machine.
# Explore POSIX for windows: http://en.wikipedia.org/wiki/POSIX#POSIX_for_Windows


Another critical tool is git:
If you are new to python or programming in general here are some excellent resources:<br />-[http://learnpythonthehardway.org/ Learn Python the Hardway] - great guide for total beginner<br />-[http://www.swaroopch.com/notes/python/ Byte of Python] - nice guide for total beginner and new to python<br />-[https://docs.python.org/2/tutorial/ Excellent Official Python Tutorial - 2.7.8] - great for new to python<br />-[http://shop.oreilly.com/product/0636920028154.do Learning Python 5th edition (also at sf lib)] - A comprehensive guide to the language and its uses<br />-[http://pymotw.com/2/ Python Module of the Week] - Learning the standard library by example<br />-[https://www.python.org/doc/ The docs themselves! 2.x for this class] - Learn what is and how to use the standard library
* Windows: http://git-scm.com/download/win
* Mac: http://git-scm.com/download/mac
* Linux: (use your package manager)


There are many, many good resources for learning the language of Python and how to do awesome things with it. Those listed above are just a few based on personal experience and strong recommendations.


=== OS / Environment / Versions ===


== Legacy Materials (Liz & Kellan's Class) ==
This section is under development.
 
''' The following material is old material from Kellan and Liz's long-running PyClass: '''
 
 
'''Come learn [http://www.python.org/ Python]'''!!<br>
See our awesome website for both PyClasses at [http://pycourse.com/ Noisebridge Learning Python]
 
 
After 9pm Tuesdays, we'll have open hacking time and time for questions for those that are kicking so much ass they just can't go home yet, or even for those that may have gone to Mondays' Front-end Web Development class and want to come back for more. If you have problems from work or home, feel free to bring them after 9 and everyone can help each other.


[https://www.digitalocean.com/?refcode=1a1061eaf303 Digital Ocean $10 Credit]


''' Semi-Official Intro to Python Class Texts '''
For the sake of our sanity we use Python 2 for this course.
* [http://www.greenteapress.com/thinkpython/ Think Python: How to Think Like a Computer Scientist]
* [http://learnpythonthehardway.org/ Learn Python The Hard Way] - A good introductory text with lots of exercises written by prolific programmer [http://zedshaw.com/ Zed Shaw]
* [http://www.python.org/dev/peps/pep-0008/ PEP 8 -- The '''highly''' recommended Style Guide for Python Code]


''' Other Intro to Python Texts '''
Installing Python with [http://docs.python-guide.org/en/latest/ The Hitchhiker’s Guide to Python!]
* [http://www.swaroopch.com/notes/python A Byte of Python]
* [http://www.learnpython.org/ Learn Python - Free Interactive Python Tutorial]
* [http://www.openbookproject.net/thinkcs/python/english2e/ How to Think Like a Computer Scientist: Learning with Python 2nd Edition]
* [https://docs.python.org/2/tutorial/ The Python Tutorial] - written by Guido van Rossum, creator of the Python programming language
** [https://docs.python.org/2/download.html Python 2.x.x Documentation download] - Contains Python Tutorial & other docs in various readable formats


''' PyClass Githubs '''
Emergency Python Command Line: http://repl.it/languages/Python
* [https://github.com/PythonNinjas PyClass Organization]
* [https://github.com/PythonNinjas/InventWithPython  Invent with Python Textbook Code] <404 Error>
* https://github.com/noisebridge/Intro-Python   / Kellan Jacobs Notes
* https://github.com/noisebridge/web2py-noiselist
* https://github.com/noisebridge/flask-noiselist  / E Leddy
* https://github.com/tachang/django_noiselist


''' [Old] Class Slides '''
'''We accept refugees using all operating systems. You will be politely prodded in the direction of solutions that are closer to posix standards: http://en.wikipedia.org/wiki/POSIX#Mostly_POSIX-compliant'''
* [http://egonschiele.github.com/pyclass Slides on Github]


''' Other Helpful PyClass links '''
Some routes:<br />1. Install a linux virtual machine on another computer using virtualbox.<br />2. Use the command line in your apple machine.<br />3. Explore POSIX for windows: http://en.wikipedia.org/wiki/POSIX#POSIX_for_Windows
* [https://www.python.org/ Main Python.org site]
* [http://oreilly.com/catalog/9780596100469/ Python in a Nutshell] - an older but handy reference
* [http://www.pygame.org Pygame]
* [http://inventwithpython.com Invent Your Own Computer Games with Python] - written by Noisebridger [[User:AlSweigart|Al Sweigart]], free to download [http://inventwithpython.com/IYOCGwP_book1.pdf here] or [https://dl.dropbox.com/u/11076239/IYOCGwP_book1.pdf here]


[[Category:Python]]
Another critical tool is git:<br />''Windows: http://git-scm.com/download/win<br />''Mac: http://git-scm.com/download/mac<br />*Linux: (use your package manager)
[[Category:Pages with a Noisebridge Tiny URL]]

Revision as of 21:21, 15 February 2015

PSAs and Events

PSA 1-26-15: DO NOT COME TO PYCLASS ON WEDNESDAY (although Noisebridge is still open). As of February 1st, attend PyClass on Tuesdays and Thursdays! Thursday in the Church Classroom will replace the Wednesday.

PSA 10-1-14: PyClass starts at 7:00 PM, try to come a few minutes earlier. We want to finish up by nine so people can hack or catch their preferred train home. You can come at any time, but YMMV (your mileage may vary).

PSA 8-19-14: The noisebridge wiki and github readme files have the same information and updates.

PSA 8-16-14: The new curriculum for the Noisebridge PyClass is a crash course in the Python standard library, also touching on modules that are popular but not quite part of the standard modules. Scroll down to see the course list.

Scheduled Weekly Meeting Times

We set up the space at 6:45 PM - try to arrive early to help if you are able to.

  • Tuesday 7:00 - 9:00 PM PST - 'Turing' Classroom
  • Thursday 7:00 - 9:00 PM PST - 'Church' Classroom

Mailing List

Sign up for this to hear updates and conversations regarding the course!

PyClass-Discussion

Class Description, Goals, and Ideal Student

The pace of the courses will be fast, and the materials will be available online 24/7. We plan to frequently repeat modules with new twists as we iterate over course materials.

A major PyClass goal is to break down the courses into independent units. In other words, you won't fall behind if you miss a week. Sounds good, right?

To best experience the course, spend a short time reviewing the course materials before you come in. If you wish to know this week's courses, please join the mailing list and send an email out to PyClass@googlegroups.com

Lessons are available on Github.

The 'ideal student' for this course can grasp the following code:

(Feel free to use web resources to look up anything you don't understand)

<source lang="python">letter_frequency_dict = {} word = 'noisebridge';

for letter in word:

   times = letter_frequency_dict.get(letter, 0)
   times += 1
   letter_frequency_dict[letter] = times</source>
We use the Socratic Method
A Socratic questioner should
  1. keep the discussion focused
  2. keep the discussion fact based*
  3. stimulate the discussion with probing questions
  4. periodically summarize what has and what has not been dealt with and/or resolved
  5. draw as many students as possible into the discussion.
* intellectually responsible can be effectively replaced with 'fact based' for our needs.

New Student Reading

If you are new to python or programming in general here are some excellent resources:
-Learn Python the Hardway - great guide for total beginner
-Byte of Python - nice guide for total beginner and new to python
-Excellent Official Python Tutorial - 2.7.8 - great for new to python
-Learning Python 5th edition (also at sf lib) - A comprehensive guide to the language and its uses
-Python Module of the Week - Learning the standard library by example
-The docs themselves! 2.x for this class - Learn what is and how to use the standard library

There are many, many good resources for learning the language of Python and how to do awesome things with it. Those listed above are just a few based on personal experience and strong recommendations.

OS / Environment / Versions

This section is under development.

Digital Ocean $10 Credit

For the sake of our sanity we use Python 2 for this course.

Installing Python with The Hitchhiker’s Guide to Python!

Emergency Python Command Line: http://repl.it/languages/Python

We accept refugees using all operating systems. You will be politely prodded in the direction of solutions that are closer to posix standards: http://en.wikipedia.org/wiki/POSIX#Mostly_POSIX-compliant

Some routes:
1. Install a linux virtual machine on another computer using virtualbox.
2. Use the command line in your apple machine.
3. Explore POSIX for windows: http://en.wikipedia.org/wiki/POSIX#POSIX_for_Windows

Another critical tool is git:
Windows: http://git-scm.com/download/win
Mac: http://git-scm.com/download/mac
*Linux: (use your package manager)