Telecharger Cours

Introduction au langage python

import sys try : f = open('myfile.txt') s = f.readline() i = int(s.strip()) except IOError as e : print ?I/O error({0}): {1}?.format(e.errno, e.strerror).



Download