Skip to content

Instantly share code, notes, and snippets.

@tkaemming
Created February 24, 2017 19:25
Show Gist options
  • Select an option

  • Save tkaemming/33a6fafaa009737c2007fd0905f89f90 to your computer and use it in GitHub Desktop.

Select an option

Save tkaemming/33a6fafaa009737c2007fd0905f89f90 to your computer and use it in GitHub Desktop.

Revisions

  1. tkaemming created this gist Feb 24, 2017.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Python 3.5.0 (default, Sep 23 2015, 04:42:00)
    [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import six
    >>> six.binary_type(10)
    b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
    6 changes: 6 additions & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Python 2.7.10 (default, Jul 14 2015, 19:46:27)
    [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import six
    >>> six.binary_type(10)
    '10'