Skip to content

read ftd variable #1

@amitu

Description

@amitu

If you have a ftd file, foo.ftd:

-- string message: hello world
-- integer n: 20
import ftd

d = ftd.parse("foo.ftd")
assert d.get("foo#message") == "hello world"
assert d.get("foo#n") == 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions