diff --git a/fileExplorer/files.py b/fileExplorer/files.py new file mode 100644 index 0000000..93d6c4c --- /dev/null +++ b/fileExplorer/files.py @@ -0,0 +1,12 @@ +import glob +a = [] +print("Enter the directory:") +s1 = str(input()) +s2 = s1+"/*" +a = glob.glob(s1+"/*") + + + +for i in range(len(a)): + s = a[i] + print(s[len(s1):]) \ No newline at end of file