GeometrizeTwitterBot  1.0
Python Twitter bot for geometrizing images into geometric primitives
Namespaces | Functions
script_wrangler.py File Reference

Namespaces

 script_wrangler
 This module contains code that manipulates ChaiScript template scripts before they can be executed by Geometrize.
 

Functions

def script_wrangler.replace_tag (code, tag, value)
 Replaces all instances of a template ::TAG:: in the given code with the given value. More...
 
def script_wrangler.replace_tags (code, dict)
 Replaces all instances of template ::TAG::s in the code from the given dictionary with their corresponding values. More...
 
def script_wrangler.find_tags (code)
 Returns a set of all the template ::TAG::s found in the given code. More...
 
def script_wrangler.code_contains_tags (code)
 Returns true if the given code contains any ::TAG::s, else false. More...