Ben Chuanlong Du's Blog

It is never too late to learn.

String vs Bytecode in Python

Comments

  1. Be careful that some functions return bytecode instead of string in Python 3.

  2. bytecode has similar APIs to str. Most string functions can be applied to bytecode as well.

String to Bytecode

Install Kotlin

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Ubuntu

Unfortunately, there is no apt-get installation (even no Ubuntu PPA) for Kotlin at this time. There are basically 3 options to install Kotlin on Ubuntu.

  1. Install manually.
  2. Use snap app …