Fhernd icon

cambiar-codificacion-archivo-abierto.py

Fhernd | PRO | 07/16/18 09:22:42 PM UTC | 0 ⭐ | 2289 👁️ | Never ⏰ | []
Python |

160 B

|

None

|

0 👍

/

0 👎

import urllib.request
import io
 
u = urllib.request.urlopen('http://www.python.org')
f = io.TextIOWrapper(u, encoding='utf-8')
 
texto = f.read()
 
print(texto)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎