This file contains hidden or 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 argparse | |
| #import envoy | |
| import shutil, errno | |
| import os | |
| import sys | |
| def copyanything(src, dst): | |
| try: | |
| shutil.copytree(src, dst) | |
| except OSError as exc: # python >2.5 |
This file contains hidden or 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 shutil, errno | |
| import os | |
| def copyanything(src, dst): | |
| try: | |
| shutil.copytree(src, dst) | |
| except OSError as exc: # python >2.5 | |
| if exc.errno == errno.ENOTDIR: | |
| shutil.copy(src, dst) | |
| else: pass |
This file contains hidden or 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
| def a_vs_b(a, b): | |
| return | |
| def agencies_in_location(type, location): | |
| return | |
| query_formats_to_functions = {} | |
| non_values_to_query_formats = {} # given tuple of the non values return query format | |
| def extract_non_values_from_format(format): |
This file contains hidden or 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
| query = 'ALS agencies in King County' | |
| def a_vs_b(a, b): | |
| return | |
| def agencies_in_location(type, location): | |
| return | |
| query_formats_to_functions = {} | |
| non_values_to_query_formats = {} # given tuple of the non values return query format |
NewerOlder