
Envoyé par
geomechanic
Merci Vincent,
J'ai fait comme tu m'appris mais il annonce une erreur comme suite:
--------------------------------------------------------------------------------------------------
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> with open ('depl_mesure.txt','r') as objf:
... a = [float(x.strip()) for x in objf]
File "<stdin>", line 2
a = [float(x.strip()) for x in objf]
^
IndentationError: expected an indented block
--------------------------------------------------------------------------------------------------
Et c'est où le problème?
Merci par avance.
VMN
Partager