stringcalc.tension.String#
- class stringcalc.tension.String(L, type, gauge, wound)#
-
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
from_spec(s)Create a string from spec, e.g.
'22.9" PB .042w'.index(value[, start, stop])Return first index of value.
Attributes
LScale length.
gaugeString gauge.
typeString type abbreviation, such as D'Addario "PB", "PL", or "NYL".
woundWhether the string is wound (as opposed to plain).