diff --git a/_posts/2017-06-25-ndh.md b/_posts/2017-06-25-ndh.md index 9fd07a7..4a756ac 100644 --- a/_posts/2017-06-25-ndh.md +++ b/_posts/2017-06-25-ndh.md @@ -270,7 +270,7 @@ FILETYPE="PNG" On suppose donc que le fichier à trouver est un fichier PNG. Cependant, il y a beaucoup trop de fichiers pour les vérifier un à un manuellement. J'ai fait le choix d'automatiser la recherche avec python : -``` +```python from os import listdir from os.path import isfile, join import magic