Skip to content

Instantly share code, notes, and snippets.

@walkerdb
Last active October 5, 2015 15:22
Show Gist options
  • Select an option

  • Save walkerdb/629a87bb6ce5ce8c3a78 to your computer and use it in GitHub Desktop.

Select an option

Save walkerdb/629a87bb6ce5ce8c3a78 to your computer and use it in GitHub Desktop.
>>> extent.text
'3 linear feet and 1 outsize box'
# we don't use "outsize", so we'll make it "oversize" instead
>>> extent.text = extent.text.replace(" outsize ", " oversize ")
>>> extent.text
'3 linear feet and 1 oversize box'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment