python 2 to 3 converter
songbird
songbird at anthive.com
Mon Dec 9 20:07:21 EST 2019
Rob Gaddi wrote:
...
> And how exactly do you propose to determine whether the constant I've enclosed
> in quotation marks in Python2 represents "text" or "binary data"? Not all text
> is words; think of SQL queries. And some words are binary data, think SCPI
> commands being sent to a serial port.
why not assume one, see if it works and then if it doesn't you
know it is the other? if those are the only two choices then
that speeds things up.
songbird
More information about the Python-list
mailing list