Demo entry 6623764

fplan basic

   

Submitted by anonymous on Jun 09, 2017 at 15:49
Language: Python. Code size: 435 Bytes.

def read_fplan(file, features=FPLAN_FEATURES):
    ...
            for line in _file:
                service_begins = line.startswith('*Z ') or \
                    line.startswith('*KW ') or \
                    line.startswith('*T ')
                ...

                if service is not None:
                    for feature in _features:
                        r = feature(line, service)
                        ...

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).