Typescript Get Enum Value From String To Binary Python Tutorial W3schools