The Empty String, the Empty List, and Zero All Evaluate to False

The empty string, the empty list, the empty dictionary, the empty set, and zero all evaluate to False.

 

Conversion Between Str and Bytes

Diagram: Conversion Between Str and Bytes Conversion to String

  Conversion To Bytes

  Write a File in Write Binary Mode (‘wb’)

  Write a File in Write Character Mode (‘w’)

 

How to Get and Change the Current Working Directory | Python

How to Get the Current Working Directory

How to Change the Current Working Directory