Skip to content

Provide methods to access value, unit etc. in Python code #28

Description

@Splines

In Python code, it might be useful to do something like this:

import resultwizard as wiz

my = wiz.res("Important", 3.14, 0.02, "\J")

# then somewhat later in the code
print(my.value)
print(my.uncertainty)

Similar to what we already provide to LaTeX (e.g. \resultImportant[value]), we could also provide an API for the python code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ideaAn idea for a new feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions