Meet Python: little notes
Posted Little notes
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Meet Python: little notes相关的知识,希望对你有一定的参考价值。
Source: http://www.liaoxuefeng.com/
? Escape character: ‘\‘
- ‘\n‘: newline;
- ‘\t‘: tab;
- ‘\\‘: \;
- r‘...‘: no transferring for contents within single quotes;
- ‘‘‘...‘‘‘: multiple lines within triple quotes: could start a new line with ENTER directly. r‘‘‘...‘‘‘ is valid as well.
? Division
- ‘/‘: floating point calculation, alway return float;
- ‘//‘: only return integer part (decimal part is direclty abandoned);
- ‘%‘: return remainder.
以上是关于Meet Python: little notes的主要内容,如果未能解决你的问题,请参考以下文章
转换缓冲区表示 int little endian Python 类的列表
解决执行 python -m visdom.server 时,出现 Downloading scripts, this may take a little while 的问题