data style for python

'''

integer

1,100,-8080,0
0xff00,0xa5b4c3a2

float

1.23,3.14,-9.01
1.23x109 => 1.23e9

string

'abc'
"xyz"

'I'm "OK"!' => I'm "OK"!
'''
'''I'm "OK"!'''
'''

bool

True False
and or not

null value

None

variable

[a-zA-Z][1-9]_ (cant begin with digital)

constant

use uppercase

'''

原文地址:https://www.cnblogs.com/otfsenter/p/6376473.html