What’s the Return Value of a Bool Expression in Python?

We know that the boolean value of 0 is False, and the boolean value of 1 is True. What about the boolean value of a negative number, for example, -2 ? What’s the result of the expression True and 3 in Python? Is it True or False, or other value? Let’s find it out.

Beginner’s Guide to Shell Commands

Maybe you just began to use Linux, or maybe you need to run programs in Terminal/Shell, in both cases, you need a command reference or cheat sheet. Here’s what you’re looking for, a list of some basic commands with examples.

Jupyter Notebook使用

注:本文中部分内容是 Python for Data Analysis (by Wes Mckinney) 一书的学习笔记。

接着上一篇文章,我们从 Anaconda 命令行打开 Jupyter Notebook,在浏览器中会看到类似下图的页面,下方还有文件夹或者文件的列表。