Python Forum
TypeError: conversion from bytes to Decimal is not supported - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: TypeError: conversion from bytes to Decimal is not supported (/thread-40620.html)



TypeError: conversion from bytes to Decimal is not supported - Skaperen - Aug-27-2023

Output:
TypeError: conversion from bytes to Decimal is not supported
is supporting bytes all that hard to do?


RE: TypeError: conversion from bytes to Decimal is not supported - Gribouillis - Aug-27-2023

You already asked this question 2 years ago. Has anything changed since then?

Obviously, it is deliberately not supported.


RE: TypeError: conversion from bytes to Decimal is not supported - Skaperen - Aug-28-2023

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.