Module file
source code
|
ParseException
Thrown if parsing of data read from file fails.
|
|
FileTimeline
The general format of the file looks like this for version >= 0.3.0:
|
Imports:
datetime,
abspath,
base64,
codecs,
os,
re,
StringIO,
wx,
MemoryDB,
TimelineIOError,
Category,
Event,
TimePeriod,
safe_write,
get_version,
ex_msg
Return True or False.
Expected format 'True' or 'False'.
|
Return a tuple (r, g, b) or raise exception.
Expected format 'r,g,b'.
|
The delimiter is ; but only if not proceeded by backslash.
Examples:
'foo;bar' -> ['foo', 'bar']
'foo\;bar;barfoo -> ['foo\;bar', 'barfoo']
|