| Home | Trees | Indices | Help |
|---|
|
|
utilities for xml maploading process
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
uses XMLObjectLoader to load import files from path
|
helper function to call loadImportFile on a directory
|
helper function to call loadImportFile recursive on a directory
|
Returns new path for given subfile (path), which is rooted against masterfile E.g. if masterfile is ./../foo/bar.xml and subfile is ./../foo2/subfoo.xml, returned path is ../foo2/subfoo.xml NOTE: masterfile is expected to be *file*, not directory. subfile can be either |
does inverse operation to root_subfile. E.g. E.g. if masterfile is ./../foo/bar.xml and subfile is ../foo2/subfoo.xml, returned path ./../foo2/subfoo.xml Usually this function is used to convert saved paths into engine relative paths NOTE: masterfile is expected to be *file*, not directory. subfile can be either |
Makes the path use '/' delimited separators. FIFE always uses these delimiters, but some os-related
routines will default to os.path.sep.
|
source:
http://code.activestate.com/recipes/66472-frange-a-range-function-with-float-increments/
Range function that accepts floats (and integers).
Usage:
frange(-2, 2, 0.1)
frange(10)
frange(10, increment = 0.5)
The returned value is an iterator. Use list(frange) for a list.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue May 22 00:00:33 2012 | http://epydoc.sourceforge.net |