[pyar] Duda con Path para leer archivo

Roberto Bozzacchi robbie en metasigno.com
Lun Feb 6 17:00:18 ART 2012


Lo volví a probar con la sugerencias pero sigo igual:

>>> with open('C:\\Files\\CON_SI\\185-01.txt') as fh:
    for linea in fh:
        print(linea)

Traceback (most recent call last):
  File "<pyshell#90>", line 1, in <module>
    with open('C:\\Files\\CON_SI\\185-01.txt') as fh:
IOError: [Errno 2] No such file or directory:
'C:\\Files\\CON_SI\\185-01.txt'
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20120206/5eb01885/attachment.html>


More information about the pyar mailing list