fgdocx  0.2 [master]
FlightGear API Docs
Functions
fgdocx.helpers Namespace Reference

Functions

def read_file (path_to_file)
 Read a text file and return its contents. More...
 
def write_file (path_to_file, contents)
 Write text string to file path. More...
 
def xsplit (v, char)
 

Function Documentation

def fgdocx.helpers.read_file (   path_to_file)

Read a text file and return its contents.

Parameters
path_to_file
Return values
strwith file content

Definition at line 8 of file helpers.py.

Referenced by build_docs.DEADget_projects_index().

def fgdocx.helpers.write_file (   path_to_file,
  contents 
)

Write text string to file path.

Parameters
path_to_file
contentsstring with contents to write

Definition at line 17 of file helpers.py.

def fgdocx.helpers.xsplit (   v,
  char 
)

Definition at line 23 of file helpers.py.