Package parpg :: Package common :: Module utils
[hide private]
[frames] | no frames]

Module utils

source code

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

addPaths(*paths)

source code 

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