A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047958.html below:

[Python-Dev] Re: adding a bytes sequence type to Python

[Python-Dev] Re: adding a bytes sequence type to Python [Python-Dev] Re: adding a bytes sequence type to Python"Martin v. Löwis" martin at v.loewis.de
Tue Aug 17 23:11:06 CEST 2004
Bob Ippolito wrote:
> How would you embed raw bytes if the string was unicode?

The most direct notation would be

    bytes("delimited packet\x00")

However, people might not understand what is happening, and
Guido doesn't like it if the bytes are >127.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4