Python Forum

Full Version: TypeError: conversion from bytes to Decimal is not supported
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Output:
TypeError: conversion from bytes to Decimal is not supported
is supporting bytes all that hard to do?
You already asked this question 2 years ago. Has anything changed since then?

Obviously, it is deliberately not supported.
yes that is obvious. i forgot that i already asked it. i tried to use it with some bytes with digits i got from a pipe, a couple days ago. i'll just have to decode them, which just gives me the same characters in a str. i'm "parsing" some output. or maybe i should just go look at code i used to "parse" the output from ping a couple years ago.