- Have each table summarize the blog post.
- Watch video.
- After video Have each table chose a website and seperate it's homepage into these 3 things.
- Core styles for site
| Write a program that does what it’s supposed to do | |
| Write idiomatic code | |
| Debug a program that you wrote | |
| Debug a program someone else wrote | |
| Debug the interaction between a system you wrote and one you didn’t | |
| File a good bug report | |
| Modify a program you didn’t write | |
| Test a program you wrote | |
| Test a program you didn’t write | |
| Learn a new programming language |
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| # -*- coding: utf-8 -*- | |
| """ | |
| author: Trish Gillett (discardthree@gmail.com, @discardthree on github) | |
| Basic scraper to check the Packt Publishing Free ebook of the day. | |
| This version uses selenium because when I tried getting the source via the | |
| requests package it sometimes seemed to return the source for a version of | |
| the website that was different from the one that was live. | |
| Adapted from this code which was used by Estela Alvarez (supita@gmail.com) | |
| to demo webscraping at a Montreal Pyladies meeting: |
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.
All of the tasks presented in the examples can be accomplished with the extensive standard library available in Python. These solutions would arguably be more terse and efficient in some cases. I don't have anything against the standard library. To me there is a certain
This Gist: http://is.gd/dokkudjango
DigitalOcean: https://www.digitalocean.com/
Dokku: https://github.com/progrium/dokku
Dokku-Postgres: https://github.com/Kloadut/dokku-pg-plugin
By the way, I'm available for tutoring and code review :)
new Promise?.then callback yet?](https://gist.github.com/joepie91/4c3a10629a4263a522e3bc4839a28c83#6-but