Skip to content

Instantly share code, notes, and snippets.

@M-Bryant
Created November 25, 2014 04:36
Show Gist options
  • Save M-Bryant/7e0f43b6dd2f2e288ca9 to your computer and use it in GitHub Desktop.
Save M-Bryant/7e0f43b6dd2f2e288ca9 to your computer and use it in GitHub Desktop.
the current best practice for single quoting python strings
Expression = "'{0}'".format(arcpy.GetParameterAsText(3)) # single quoted string literal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment