News for hackers. Stuff that matters.
Re:Why Python 3 Exists by takeda on Thursday December 17, 2015 @09:43PM (#10756284)
You just simply use it, if specific argument require python 2 sting you simply call bytes() on it.

For example

old_function(bytes(myarg))

if it needs to be a literal:

old_function(b"literal")

That's what I do, and works for me so far.

There are no comments on this comment yet.