Skip to content

Instantly share code, notes, and snippets.


Jackie Kazil jackiekazil

View GitHub Profile

WiDS Python class

Getting started with Python can confusing. Hopefully, this clarifies somethings. In this class, we will go over basic concepts to give you a solid intro to the Python programming language.

  • Python 2 vs Python 3
  • python interpretor vs ipython vs code editor vs notebook
  • Anaconda vs virtualenv vs no virtualenv (Advanced intro)

Repos referenced in this class

View data.json
View settings.sublime
"auto_complete": false,
"caret_style": "solid",
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
View Python
def parse_abbr_from_name(name_abbr):
''' Function to parse the abbreviation from the name '''
name, abbr = name_abbr.strip(')').split('(')
# If there are no '( )', then only one value will return, which
# means that there is no abbreviation, there is only a name.
except ValueError:
name = name_abbr
abbr = None
jackiekazil / django-jinja-integration-error
Created August 22, 2014 15:58
Django jinja integration error
View django-jinja-integration-error
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.6.5
Python Version: 3.4.1
Installed Applications:
jackiekazil / gist:46c27fd2e73228322078
Created August 13, 2014 00:29
View gist:46c27fd2e73228322078
jackiekazil / foia-core-setup
Last active August 29, 2015 14:05
foia-core setup
View foia-core-setup
Project setup
clone repo
brew install python3
mkvirtualenv --python=/usr/local/bin/python3 foia-core
cd ~/Project/code/foia/foia-core
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
import csv
import sys
import requests