Last active
August 29, 2015 14:01
-
-
Save bmoregeo/6fc7549569a40ce0c72d to your computer and use it in GitHub Desktop.
Python Config Files with ConfigObj
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
# Set values using the '='. | |
# Text will default to strings url = http://testing/arcgis/rest/awesometest/MapServer | |
# Unless it looks like an integer threads = 1 | |
# or a floating point value = 510.128 | |
# If you put brackets around something, that makes it | |
# a section. The text inside the bracket is the section header [data] | |
# To create a sub-section, just add another bracket. | |
# I like to tab these suckers out to make it legible. | |
name = "example" | |
bool = False | |
double = 1.1112 | |
integer = 4 | |
list = 'item one','item two','item three' | |
declare_list = 'only one item' | |
[[server]] | |
threads = 4 | |
value = 10 | |
[[features]] | |
polygons = http://testing/arcgis/rest/parcels/FeatureServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment