This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Fortran namelist parser. Converts nameslists to python dictionaries. | |
Should be fairly robust. Cannot be used for verifying fortran namelists as it | |
is rather forgiving. | |
Error messages during parsing are kind of messy right now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cStringIO | |
import requests | |
from xml.etree import cElementTree as ElementTree | |
url = 'http://climate.weather.gc.ca/climateData/bulkdata_e.html' | |
query = { | |
# Spelling of keys is case-sensitive at the URL-processor end | |
'timeframe': 1, | |
'stationID': 6831, # Sandheads | |
'format': 'xml', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@staticmethod | |
def search(params): | |
"""Return an iterator that yields :class:`Drawing` objects populated | |
with the data for the drawings that match the search parameters. | |
:arg params: Search parameters in key-value pairs from search form | |
on drawings page. | |
:type params: dict | |
""" | |
filters = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""Page objects for UI testing of Nordion SmartSolve CF app. | |
""" | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from holmium.core import ( | |
Locators, | |
PageElement, | |
PageObject, | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""SCons build file for dwgLINQ CADD drawing metadata database tool project | |
for Nordion Vancouver. | |
""" | |
import os | |
env = Environment( | |
ENV=os.environ, | |
tools=['sphinx'], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_debugtoolbar-1.0.3-py3.3.egg/pyramid_debugtoolbar/panels/performance.py", line 55, in resource_timer_handler | |
result = handler(request) | |
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid-1.4-py3.3.egg/pyramid/tweens.py", line 21, in excview_tween | |
response = handler(request) | |
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/__init__.py", line 82, in tm_tween | |
reraise(*exc_info) | |
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/compat.py", line 13, in reraise | |
raise value | |
File "/Users/doug/.virtualenvs/randopony-tetra/lib/python3.3/site-packages/pyramid_tm-0.7-py3.3.egg/pyramid_tm/__init__.py", line 63, in tm_tween |