Fhernd icon

contenido-directorio.py

Fhernd | PRO | 07/15/18 04:59:12 PM UTC | 0 ⭐ | 2600 👁️ | Never ⏰ | []
Python |

220 B

|

None

|

0 👍

/

0 👎

import os
 
nombre_archivos = [nombre for nombre in os.listdir('C:\\Windows')
                   if os.path.isfile(os.path.join('C:\\Windows', nombre))]
 
for nombre_archivo in nombre_archivos:
    print(nombre_archivo)

Comments

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

    0 B

    |

    👍

    /

    👎