Home | Trees | Indices | Help |
---|
|
1 # ICE Revision: $Id: /local/openfoam/Python/PyFoam/PyFoam/Applications/PlotHelpers.py 5985 2009-12-21T21:05:52.364284Z bgschaid $ 2 """ 3 Helper-functions for the plots 4 """ 5 from os import path 68 """ 9 Clean the filename in such a way that it is suitable for use in 10 HTML and LaTeX-documents 11 """ 12 dName,fName=path.split(orig) 13 fName,ext=path.splitext(fName) 14 15 # HTML doesn't like spaces 16 fName=fName.replace(' ','space') 17 # LaTeX doesn't like dots 18 fName=fName.replace('.','dot') 19 result=path.join(dName,fName)+ext 20 21 return result22
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jun 9 23:05:11 2010 | http://epydoc.sourceforge.net |