exatomic.exa.static module

Static Data Directory

Provide the location of the static data.

exatomic.exa.static.staticdir()[source]

Return the location of the static data directory.

exatomic.exa.static.resource(name)[source]

Return the full path of a named resource in the static directory.

If multiple files with the same name exist, name should contain the first directory as well.

resource("myfile")
resource("test01/test.txt")
resource("test02/test.txt")