Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Bilgisayardaki mp3 uzantili dosyalari bulma

import fnmatch
import os

rootPath = '/'
pattern = '*.mp3'

for root, dirs, files in os.walk(rootPath):
    for filename in fnmatch.filter(files, pattern):
        print( os.path.join(root, filename))
Source by codesource.io #
 
PREVIOUS NEXT
Tagged: #Bilgisayardaki #uzantili #dosyalari #bulma
ADD COMMENT
Topic
Name
8+7 =