MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/90ew6o/every_time/e2q0row
r/ProgrammerHumor • u/kajri • Jul 20 '18
749 comments sorted by
View all comments
16
Relating so bad to this right now. Code that takes a string argument says "TypeError expected byte-like object, not str"
So covert it to bytes "expected str, not bytes"
Just sitting here clicking run hoping it works
2 u/PeachyKeenest Jul 20 '18 Error is bsing you. It's a different issue altogether probably. I hate it when error logs are giving me things that don't even make sense.This falls into that category.
2
Error is bsing you. It's a different issue altogether probably. I hate it when error logs are giving me things that don't even make sense.
This falls into that category.
16
u/sloth_sloth666 Jul 20 '18
Relating so bad to this right now. Code that takes a string argument says "TypeError expected byte-like object, not str"
So covert it to bytes "expected str, not bytes"
Just sitting here clicking run hoping it works