[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/coding336/Python/master/python2/Type_of_data.md [Back]  [Original]

# Python  #

## 1 ##

Python  Python `1``100``-8080``0`

 0x  0-9a-f 0xff000xa5b4c3d2


## 2 ##



## 3 ##

 ''  ""  `'abc'` `"123"` ''  ""  `'abc'`  abc  3 


### 1 Python  ###

 `''`  `""`  `''`  `""` 

Python  `\`  JAVA 


``` 
\n 
\t 
\\  \ 
```


![Python.png](http://upload-images.jianshu.io/upload_images/2136918-88fdd2055dd834f4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

 `r`  raw 

![Pythonr.png](http://upload-images.jianshu.io/upload_images/2136918-8391230097f54800.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

`r'...'``'``"`

`'''...'''`, `r` raw


![.png](http://upload-images.jianshu.io/upload_images/2136918-36df87f50895af18.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

### 2  ###

8bitbyte25511111111=2550 - 255ASCII A  65 z  122

 ASCII  GB2312 

Unicode Unicode 

Unicode  0 

 Python  Unicode Python  ASCII  'ABC'  Python  ASCII 

Python  Unicode  Unicode `u'...'`

 Python 3  Unicode Python `u'...'`

 Python  UTF-8 Python  UTF-8 

```python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
```

 Linux/OS X  Python Windows 

 Python  UTF-8 

 UTF-8  .py  UTF-8  UTF-8 without BOM 

## 4 ##

 `True`  `False ` `True` `False` Python  TrueFalse 

 `and``or`  `not` 

`and`  Trueand  True

`or`  Trueor  True

`not`  True  FalseFalse  True


## 5 ##

 Python  None 

Web Proxy Viewer  |  New URL  |  Original Page