[Python-ideas] Str to Byte

2022-02-24 Thread one last Day
bit = "\xd8\xa3\xd9\x88\xd9\x87 \xd8\xa8\xd8\xaf\xd9\x8a\xd9\x84 \xd9\x85\xd9\x86 \xd9\x82\xd9\x88\xd9\x84\xd8\xaa\xd9\x8a \xd9\x88\xd8\xa7\xd9\x87\xd8\xa7" # here it is a byte but in str encode_bit = bytes(bit , "latin-1") # i can here say to the computer it is byte #then it will print the same w

[Python-ideas] Call two or more functions with one args

2021-11-05 Thread one last Day
Call two or more functions with one args. one last Day إلى python-dev-owner قبل 7 أيام التفاصيل #While reading about functions in mathematics, a figure representing the sum of two functions caught my attention. #I found it would be useful to add it in the next version of Python. Of course, what