Posts: 4,646
Threads: 1,493
Joined: Sep 2016
i want to test something in python2. to do the test i need a byte string. i don't need a byte string type. i only need some way to get a byte string
value.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
i mean byte string as in b'foo' where for that value, repr()[0] would == 'b'. but just simply b'foo' doesn't do it. i have see b' stuff come out sometimes in python2 but that was before i switched to doing things in python3 which makes a proper type for this stuff. i'm want to see how some code i wrote behaves when given such a value while running under python2.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
ok, so the conditions i wanted to test will not actually happen.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.