Package scripts :: Package common :: Script utils
[hide private]
[frames] | no frames]

Module utils

Functions [hide private]
 
addPaths(*paths)
Adds a list of paths to sys.path.
 
dedent_chomp(string)
Remove common leading whitespace and chomp each non-blank line.
 
loadSettings(settings_file='./settings.xml')
 
locateFiles(pattern, root='.')
Locate all files matching supplied filename pattern in and below supplied root directory.
 
parseBool(value)
Parses a string to get a boolean value
Variables [hide private]
  __package__ = 'scripts.common'
Function Details [hide private]

addPaths(*paths)

 

Adds a list of paths to sys.path. Paths are expected to use forward slashes, for example '../../engine/extensions'. Slashes are converted to the OS-specific equivalent.

Parameters:
  • paths (???) - Paths to files?
Returns:
None