Fedora Project

Python script to read the name of all files in a directory

Write a Python script in a gist to list the names of all files in a directory. The directory should be prompted as input from the user, and the output shouldn't include any sub-directories. The intended output is the link to the gist.

Task tags

  • python

Students who completed this task

HSNA123, Musab Kılıç, xz56, DarkDestroyer, FARHAN AHAMED, Shivam, Silverpoision, Dita, strawberryshaker2005, Sash713, Ezioleq, arujbansal, ssinha, AayushCodes, srikavin

Task type

  • code Code

Level

Beginner
close

2019