-help
python –help
-quit
quit() Control-D(Unix) Control-Z(Windows)
-.pyw
don’t appear window when execute directly on windows
-python script in Unix
#! /usr/bin/env python
# -*- coding: encoding -*-
-_
in interactive mode, the variable “_” always hold the last output.
-string
string can put into “” or ”; Escape characters are supported by “\”, e.g \”, \’, \n; Put “\” at the end of a line can continue the string at the next line.
string can also put between two “”” or ”’, in this way, no need to use “\” to new line; Enter key will treat as part of the string.
raw mode, r”content”, no excape characters is supported.