We can use replace() as on a string. The arguments must be bytes objects—here we use "b" literals. value = b"aaabbb" # Use bytes replace method.
確定! 回上一頁